Skip to content

Commit

Permalink
Merge pull request #9663 from rouault/ci_setuptools_65_3
Browse files Browse the repository at this point in the history
CI: adapt for setuptools >= 65.3
  • Loading branch information
rouault authored Apr 15, 2024
2 parents 95579fe + 2c4e1d2 commit cf937e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ jobs:
- name: Standalone Python bindings build from source
run: |
(cd $GITHUB_WORKSPACE/superbuild/build/gdal/swig/python && python setup.py sdist)
mv $GITHUB_WORKSPACE/superbuild/build/gdal/swig/python/dist/GDAL-*.tar.gz gdal-python.tar.gz
mv $GITHUB_WORKSPACE/superbuild/build/gdal/swig/python/dist/gdal-*.tar.gz gdal-python.tar.gz
mv $GITHUB_WORKSPACE/superbuild/build/gdal/swig/python gdal-swig-python
python3 -m venv myvenv
source myvenv/bin/activate
Expand Down
8 changes: 4 additions & 4 deletions HOWTO-RELEASE
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,14 @@ the GDAL package by one of the current owners : HowardB/FrankW/EvenR)

c) python3 setup.py sdist

d) Check the output:
twine check dist/GDAL-*.gz
d) Check the output (this assumes setuptools >= 65.3.0, otherwise the filename is GDAL-*.gz):
twine check dist/gdal-*.gz

e) For trial :
twine upload dist/GDAL-*.gz -r pypitest
twine upload dist/gdal-*.gz -r pypitest

f) For real :
twine upload dist/GDAL-*.gz
twine upload dist/gdal-*.gz

15.3) create gdal-utils wheel and upload to pypi:

Expand Down

0 comments on commit cf937e6

Please sign in to comment.