Update Makefile to use twine for releases. Add target to make test releases.

This commit is contained in:
Roberto Rosario
2017-02-13 02:42:01 -04:00
parent 1f230c843a
commit 4469f020a6
2 changed files with 7 additions and 3 deletions

View File

@@ -87,8 +87,13 @@ requirements_testing:
# Releases
test_release: clean wheel
twine upload dist/* -r testpypi
@echo "Test with: pip install -i https://testpypi.python.org/pypi mayan-edms"
release: clean wheel
python setup.py upload
twine upload dist/* -r pypi
sdist: clean
python setup.py sdist
@@ -106,5 +111,3 @@ runserver:
shell_plus:
./manage.py shell_plus --settings=mayan.settings.development

View File

@@ -11,6 +11,7 @@ ipython==4.0.3
pypandoc==1.3.3
transifex-client==0.12.2
twine==1.8.1
wheel==0.26.0