summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2020-02-20 09:16:26 +0000
committerStephen Finucane <sfinucan@redhat.com>2020-02-21 09:47:59 +0000
commit1e05dec589268fe50e15b07b788a007a5c89fc62 (patch)
tree5d0554e453c2bab29afadc7022e222eb99e7a8cb
parent0f7d723c462ab0c083120f811fba682057f2b081 (diff)
downloadpython-novaclient-1e05dec589268fe50e15b07b788a007a5c89fc62.tar.gz
setup.cfg: Various Python 3 fixes
Now that we've dropped Python 2 support, we shouldn't be stating that we support universal (Python 2 and 3) wheels. We should also use the proper setuptools machinery to prevent people accidentally installing novaclient in a Python 2.7 environment. Resolve both issues, removing an unused 'upload_sphinx' section in the process. Change-Id: Icee145f44a42c233008b3328f52a3eec933101e0 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
-rw-r--r--setup.cfg9
1 files changed, 3 insertions, 6 deletions
diff --git a/setup.cfg b/setup.cfg
index d2048632..aac59e11 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -7,6 +7,7 @@ license = Apache License, Version 2.0
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = https://docs.openstack.org/python-novaclient/latest
+python-requires = >=3.6
classifier =
Development Status :: 5 - Production/Stable
Environment :: Console
@@ -19,6 +20,8 @@ classifier =
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
+ Programming Language :: Python :: 3 :: Only
+ Programming Language :: Python :: Implementation :: CPython
[files]
packages =
@@ -28,9 +31,6 @@ packages =
console_scripts =
nova = novaclient.shell:main
-[upload_sphinx]
-upload-dir = doc/build/html
-
[compile_catalog]
domain = novaclient
directory = novaclient/locale
@@ -44,6 +44,3 @@ input_file = novaclient/locale/novaclient.pot
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = novaclient/locale/novaclient.pot
-
-[wheel]
-universal = 1