Skip to content
Snippets Groups Projects
Commit 164e3340 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

CI: I don't remember doing this. I have been adding a leading 0 to the major

version number in the fslpy wheel file name. And pypi has now started
rejecting wheel files for which the version in the file name doesn't match the
version in the package metadata.
parent 27d4c737
No related branches found
No related tags found
No related merge requests found
...@@ -11,19 +11,6 @@ twine check dist/* ...@@ -11,19 +11,6 @@ twine check dist/*
sdist=`find dist -maxdepth 1 -name *.tar.gz` sdist=`find dist -maxdepth 1 -name *.tar.gz`
wheel=`find dist -maxdepth 1 -name *.whl` wheel=`find dist -maxdepth 1 -name *.whl`
# pip < 10 will not install wheels
# with an invalid name. So we can
# generate builds from non-releases
# (e.g. master master branch),
# we hack the wheel file name here
# so that pip will accept it.
#
# This will no longer be necessary
# when pip 10 is available.
nwheel=`echo -n $wheel | sed -e 's/fslpy-/fslpy-0/g'`
mv $wheel $nwheel
wheel=$nwheel
for target in $sdist $wheel; do for target in $sdist $wheel; do
python -m venv test.venv python -m venv test.venv
. test.venv/bin/activate . test.venv/bin/activate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment