mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 01:26:51 +03:00
Start using twine for dist uploading to PyPI (#259)
This commit is contained in:
parent
17621d9fd7
commit
8681500236
12
Makefile
12
Makefile
|
@ -67,6 +67,12 @@ check:
|
|||
pydocstyle src/dependency_injector/
|
||||
pydocstyle examples/
|
||||
|
||||
test-publish: cythonize
|
||||
# Create distributions
|
||||
python setup.py sdist
|
||||
# Upload distributions to PyPI
|
||||
twine upload --repository testpypi dist/dependency-injector-$(VERSION)*
|
||||
|
||||
publish: cythonize
|
||||
# Merge release to master branch
|
||||
git checkout master
|
||||
|
@ -75,5 +81,7 @@ publish: cythonize
|
|||
# Create and upload tag
|
||||
git tag -a $(VERSION) -m 'version $(VERSION)'
|
||||
git push --tags
|
||||
# Create and upload build
|
||||
python setup.py sdist upload
|
||||
# Create distributions
|
||||
python setup.py sdist
|
||||
# Upload distributions to PyPI
|
||||
twine upload dist/dependency-injector-$(VERSION)*
|
||||
|
|
|
@ -5,3 +5,5 @@ coverage
|
|||
flake8
|
||||
pydocstyle
|
||||
sphinx_autobuild
|
||||
pip
|
||||
twine
|
||||
|
|
Loading…
Reference in New Issue
Block a user