Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Spiros Tsalikis
VTK
Commits
74bb8647
Commit
74bb8647
authored
1 year ago
by
Ben Boeckel
Browse files
Options
Downloads
Patches
Plain Diff
gitlab-ci: install setuptools to build the wheels
Python 3.12 does not ship with `setuptools` anymore.
parent
5ab1a8e6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab/os-macos.yml
+1
-0
1 addition, 0 deletions
.gitlab/os-macos.yml
.gitlab/os-windows.yml
+1
-0
1 addition, 0 deletions
.gitlab/os-windows.yml
with
2 additions
and
0 deletions
.gitlab/os-macos.yml
+
1
−
0
View file @
74bb8647
...
...
@@ -239,6 +239,7 @@
-
sccache --show-stats
-
cd build
-
"
$PYTHON_PREFIX/bin/python$PYTHON_VERSION_SUFFIX
-m
venv
venv"
-
venv/bin/pip install setuptools
-
venv/bin/pip install wheel
-
venv/bin/python3 setup.py bdist_wheel
-
'
[
-f
dist/*_universal2.whl
]
&&
exit
1
#
universal2
wheels
are
not
made;
platform
detection
requires
an
override'
...
...
This diff is collapsed.
Click to expand it.
.gitlab/os-windows.yml
+
1
−
0
View file @
74bb8647
...
...
@@ -308,6 +308,7 @@
-
Set-Item -Force -Path "env:PATH" -Value "$env:PYTHON_PREFIX;$env:PATH"
-
python -m venv venv
-
. .\venv\Scripts\Activate.ps1
-
pip install setuptools
-
pip install wheel
-
python setup.py bdist_wheel
-
python "$env:GIT_CLONE_PATH\.gitlab\ci\create_wheel_sdk_archive.py"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment