|
@@ -1,14 +1,15 @@
|
|
|
install:
|
|
|
pip install . --no-deps --upgrade
|
|
|
|
|
|
-build:
|
|
|
- python setup.py build
|
|
|
+build_sdist:
|
|
|
+ @python setup.py build sdist
|
|
|
|
|
|
-deploy:
|
|
|
- python setup.py sdist upload -r pypi
|
|
|
+deploy: build_sdist
|
|
|
+ ./deploy_latest.sh
|
|
|
|
|
|
-test_deploy:
|
|
|
- python setup.py sdist upload -r pypitest
|
|
|
+test_deploy: build_sdist
|
|
|
+ REPO=pypitest ./deploy_latest.sh
|
|
|
|
|
|
get_version:
|
|
|
- @python -c "import cvargparse; print('v{}'.format(cvargparse.__version__))"
|
|
|
+ @printf "v"
|
|
|
+ @python setup.py --version
|