Added Twine to dev requirements

master
Jef Roosens 2020-08-26 14:13:18 +02:00
parent bc1a55f21f
commit ecdcda1c36
2 changed files with 1 additions and 4 deletions

View File

@ -7,8 +7,6 @@ SRC=frank
VENV=venv VENV=venv
# Docs directory # Docs directory
DOCS=docs DOCS=docs
# Tests directory
TESTS=tests
# Interpreter to create venv with # Interpreter to create venv with
INTERPRETER=python3.8 INTERPRETER=python3.8
@ -67,8 +65,6 @@ package: README.md LICENSE setup.py test clean-setup
@ "$(VENV)/bin/python" setup.py sdist bdist_wheel @ "$(VENV)/bin/python" setup.py sdist bdist_wheel
publish: package publish: package
@ echo 'Installing twine...'
@ $(VENV)/bin/pip install --quiet --upgrade twine
@ [ git symbolic-ref HEAD --short = master ] && { \ @ [ git symbolic-ref HEAD --short = master ] && { \
echo 'Publishing to PyPi...'; \ echo 'Publishing to PyPi...'; \
$(VENV)/bin/python -m twine upload dist/* ; \ $(VENV)/bin/python -m twine upload dist/* ; \

View File

@ -10,3 +10,4 @@ flake8-variables-names~=0.0.3
setuptools~=49.6.0 setuptools~=49.6.0
pytest>=6.0.1,<7.0.0 pytest>=6.0.1,<7.0.0
pytest-asyncio>=0.14.0,<1.0.0 pytest-asyncio>=0.14.0,<1.0.0
twine>=3.2.0,<4.0.0