Skip to content

Commit 3f97e98

Browse files
committed
Cleanup py27 support
Make a few cleanups: - Remove python 2.7 stanza from setup.py - Remove obsolete sections from setup.cfg - Update classifiers Change-Id: I79e3c540b56b024c7d01e4c916cdd79da9000331
1 parent f4b1a3f commit 3f97e98

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

setup.cfg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ classifier =
1414
License :: OSI Approved :: Apache Software License
1515
Operating System :: POSIX :: Linux
1616
Programming Language :: Python
17+
Programming Language :: Python :: 3 :: Only
18+
Programming Language :: Python :: Implementation :: CPython
1719
Programming Language :: Python :: 3
1820
Programming Language :: Python :: 3.6
1921
Programming Language :: Python :: 3.7
@@ -267,9 +269,6 @@ keystoneauth1.plugin =
267269
cliff.formatter.list =
268270
df-to-csv = cloudkittyclient.format:DataframeToCsvFormatter
269271

270-
[upload_sphinx]
271-
upload-dir = doc/build/html
272-
273272
[compile_catalog]
274273
directory = cloudkittyclient/locale
275274
domain = python-cloudkittyclient

setup.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
1716
import setuptools
1817

19-
# In python < 2.7.4, a lazy loading of package `pbr` will break
20-
# setuptools if some other modules registered functions in `atexit`.
21-
# solution from: http://bugs.python.org/issue15881#msg170215
22-
try:
23-
import multiprocessing # noqa
24-
except ImportError:
25-
pass
26-
2718
setuptools.setup(
2819
setup_requires=['pbr>=2.0.0'],
2920
pbr=True)

0 commit comments

Comments
 (0)