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 src/dependency_injector/
|
||||||
pydocstyle examples/
|
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
|
publish: cythonize
|
||||||
# Merge release to master branch
|
# Merge release to master branch
|
||||||
git checkout master
|
git checkout master
|
||||||
|
@ -75,5 +81,7 @@ publish: cythonize
|
||||||
# Create and upload tag
|
# Create and upload tag
|
||||||
git tag -a $(VERSION) -m 'version $(VERSION)'
|
git tag -a $(VERSION) -m 'version $(VERSION)'
|
||||||
git push --tags
|
git push --tags
|
||||||
# Create and upload build
|
# Create distributions
|
||||||
python setup.py sdist upload
|
python setup.py sdist
|
||||||
|
# Upload distributions to PyPI
|
||||||
|
twine upload dist/dependency-injector-$(VERSION)*
|
||||||
|
|
|
@ -5,3 +5,5 @@ coverage
|
||||||
flake8
|
flake8
|
||||||
pydocstyle
|
pydocstyle
|
||||||
sphinx_autobuild
|
sphinx_autobuild
|
||||||
|
pip
|
||||||
|
twine
|
||||||
|
|
Loading…
Reference in New Issue
Block a user