summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-05-30 20:59:34 -0700
committerTodd Leonhardt <todd.leonhardt@gmail.com>2018-05-30 20:59:34 -0700
commit9b63c7f6c9afea779793166351bac10c701d723c (patch)
tree4a6f91e376e703e44488b97a97d0756544831ec9
parent84c7ece041504bfaba77a10f459726ebe87b0a14 (diff)
downloadcmd2-git-9b63c7f6c9afea779793166351bac10c701d723c.tar.gz
Added minimum version of twine to dev tool requirements in setup.py
Also: - Updated comment in tasks.py to document minimum version of twine, wheel, and setuptools required
-rwxr-xr-xsetup.py2
-rw-r--r--tasks.py7
2 files changed, 7 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 57ea5d37..59c53b68 100755
--- a/setup.py
+++ b/setup.py
@@ -73,7 +73,7 @@ EXTRAS_REQUIRE = {
# install with 'pip install -e .[dev]'
'dev': [
'pytest', 'pytest-cov', 'tox', 'pylint', 'sphinx', 'sphinx-rtd-theme',
- 'sphinx-autobuild','invoke', 'twine',
+ 'sphinx-autobuild', 'invoke', 'twine>=1.11',
]
}
diff --git a/tasks.py b/tasks.py
index 000af0a5..5c0bd772 100644
--- a/tasks.py
+++ b/tasks.py
@@ -1,7 +1,12 @@
#
# coding=utf-8
-"""Development related tasks to be run with 'invoke'"""
+"""Development related tasks to be run with 'invoke'.
+Make sure you satisfy the following Python module requirements if you are trying to publish a release to PyPI:
+ - twine >= 1.11.0
+ - wheel >= 0.31.0
+ - setuptools >= 39.1.0
+"""
import os
import shutil