]> git.phdru.name Git - ppu.git/blob - setup.py
2902ebf61e9f6b0a2fa9fc9b96f5a93fba6ce163
[ppu.git] / setup.py
1 #!/usr/bin/env python
2
3 from imp import load_source
4 from os.path import abspath, dirname, join
5
6 try:
7     from setuptools import setup
8 except ImportError:
9     from distutils.core import setup
10
11 versionpath = join(abspath(dirname(__file__)), "ppu", "__version__.py")
12 load_source("ppu_version", versionpath)
13 from ppu_version import __version__  # noqa: ignore flake8 E402
14
15 setup(name='ppu',
16       version=__version__,
17       description='Broytman Portable Python Utilities',
18       long_description=open('README.rst', 'rU').read(),
19       author='Oleg Broytman',
20       author_email='phd@phdru.name',
21       url='http://phdru.name/Software/Python/ppu/',
22       license='GPL',
23       platforms='Any',
24       classifiers=[
25           'Development Status :: 4 - Beta',
26           'Environment :: Console',
27           'Environment :: Web Environment',
28           'Intended Audience :: End Users/Desktop',
29           'License :: OSI Approved :: GNU General Public License (GPL)',
30           'Operating System :: OS Independent',
31           'Programming Language :: Python :: Implementation :: CPython',
32           'Programming Language :: Python :: Implementation :: PyPy',
33           'Programming Language :: Python :: 2',
34           'Programming Language :: Python :: 2.7',
35           'Programming Language :: Python :: 3',
36           'Programming Language :: Python :: 3.3',
37           'Programming Language :: Python :: 3.4',
38           'Programming Language :: Python :: 3.5',
39           'Programming Language :: Python :: 3.6',
40       ],
41       packages=['ppu'],
42       scripts=[
43           'scripts/cmp.py', 'scripts/remove-old-files.py', 'scripts/rm.py',
44           'scripts/which.py',
45       ],
46       )