X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=setup.py;h=de4095a971b3cd4e2c599f22cd77a083669b34c9;hb=088b6f67290718a097b00d2b3a21ee6717402acd;hp=98d3d0df15af62cf7642b02e2f2e85528ef6cfcc;hpb=196955c7cf82f9d857f0458754fcd9d6009fedcf;p=ppu.git diff --git a/setup.py b/setup.py index 98d3d0d..de4095a 100755 --- a/setup.py +++ b/setup.py @@ -5,8 +5,14 @@ from os.path import abspath, dirname, join try: from setuptools import setup + is_setuptools = True except ImportError: from distutils.core import setup + is_setuptools = False + +kw = {} +if is_setuptools: + kw['python_requires'] = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*' versionpath = join(abspath(dirname(__file__)), "ppu", "__version__.py") load_source("ppu_version", versionpath) @@ -22,12 +28,13 @@ setup(name='ppu', license='GPL', platforms='Any', classifiers=[ - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', 'Environment :: Console', - 'Environment :: Web Environment', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: GNU General Public License (GPL)', 'Operating System :: OS Independent', + 'Programming Language :: Python :: Implementation :: CPython', + 'Programming Language :: Python :: Implementation :: PyPy', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', @@ -41,4 +48,5 @@ setup(name='ppu', 'scripts/cmp.py', 'scripts/remove-old-files.py', 'scripts/rm.py', 'scripts/which.py', ], + **kw )