File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3232with open (os .path .join (current_path , 'README.rst' ), encoding = 'utf-8' ) as f :
3333 long_description = f .read ()
3434
35- # Get the version
36- with open (os .path .join (current_path , 'VERSION' )) as f :
37- version = f .read ()
38-
3935# Define set up options
4036options = {
4137 'name' : 'metacall' ,
4238
4339 # Versions should comply with PEP440. For a discussion on single-sourcing
4440 # the version across setup.py and the project code, see
4541 # https://packaging.python.org/en/latest/single_source_version.html
46- 'version' : version ,
42+ 'version' : '0.5.2' ,
4743
4844 'description' : 'A library for providing inter-language foreign function interface calls' ,
4945 'long_description' : long_description ,
Original file line number Diff line number Diff line change 2222set -exuo pipefail
2323
2424PYPI_VERSION=$( curl -s https://pypi.org/rss/project/metacall/releases.xml | sed -n ' s/\s*<title>\([0-9.]*\).*/\1/p' | sed -n ' 2 p' )
25- PORT_VERSION=$( cat VERSION )
25+ PORT_VERSION=$( python3 setup.py --version )
2626
2727if [[ " $PYPI_VERSION " == " $PORT_VERSION " ]]; then
2828 echo " Current package version is the same as PyPI version, skipping upload."
You can’t perform that action at this time.
0 commit comments