summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lasher <chris.lasher@gmail.com>2020-04-07 00:08:33 -0700
committerGitHub <noreply@github.com>2020-04-07 09:08:33 +0200
commit18784fdf2e3057cd7dc142d2f48ee8be3196f751 (patch)
treeead5fd7766dc00442ba3113628e8d22ec2adfa97
parenta0c9a233d67cc6f0f0b2baeade1d9c26e3ce2fcc (diff)
downloaddjango-appconf-18784fdf2e3057cd7dc142d2f48ee8be3196f751.tar.gz
Specify package is Python 3 only (#67)
The presence of the generic `Programming Language :: Python` classifier appears to cause pip in Python 2.7 to still install new releases of this package, even though support for Python 2 was removed from this package in the current release. Removing the generic "Python" classifier should prevent this issue, by reading between the lines of [the Python Packaging tutorial](https://packaging.python.org/tutorials/packaging-projects/#creating-setup-py) ("In this case, the package is only compatible with Python 3"). Just to be certain, this also adds the `Programming Language :: Python :: 3 :: Only` classifier.
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index f1ff890..009ff2f 100644
--- a/setup.py
+++ b/setup.py
@@ -42,12 +42,12 @@ setup(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
- 'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3 :: Only',
'Topic :: Utilities',
],
project_urls={