diff --git a/build.sh b/build.sh index c0cb482..a11342b 100755 --- a/build.sh +++ b/build.sh @@ -6,4 +6,4 @@ rm -rf ./src/pyduro.egg-info echo -e "Building the package to './dist/'...\n" -python3 setup.py sdist bdist_wheel +python setup.py sdist diff --git a/build_and_publish.sh b/build_and_publish.sh new file mode 100755 index 0000000..b9b2ffe --- /dev/null +++ b/build_and_publish.sh @@ -0,0 +1,3 @@ +#!/bin/env bash + +./build.sh && ./publish.sh -r pyduro diff --git a/publish.sh b/publish.sh index 1b42a2d..46aecc9 100755 --- a/publish.sh +++ b/publish.sh @@ -40,4 +40,4 @@ done echo -e "Publishing the package to '${REPOSITORY}'...\n" -python3 -m twine upload --repository $REPOSITORY dist/* +python -m twine upload --repository $REPOSITORY dist/* diff --git a/setup.cfg b/setup.cfg index 76b73e1..999a811 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,3 @@ [metadata] -description-file=README.md +description_file=README.md license_files=LICENSE diff --git a/setup.py b/setup.py index 2433fb1..dbe0df5 100644 --- a/setup.py +++ b/setup.py @@ -36,5 +36,5 @@ py_modules=[], python_requires=">=3.6", url="https://github.com/clementprevot/pyduro", - version="1.1.0", + version="2.0.0", )