]> git.phdru.name Git - ppu.git/blob - setup.py
Build(setup.py): Use setuptools instead of distutils
[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 from setuptools import setup
6
7 versionpath = join(abspath(dirname(__file__)), "ppu", "__version__.py")
8 ppu_version = load_source("ppu_version", versionpath)
9
10 setup(name='ppu',
11       version=ppu_version.__version__,
12       description='Broytman Portable Python Utilities',
13       long_description=open('README.rst', 'rU').read(),
14       author='Oleg Broytman',
15       author_email='phd@phdru.name',
16       url='http://phdru.name/Software/Python/ppu/',
17       license='GPL',
18       platforms='Any',
19       classifiers=[
20           'Development Status :: 5 - Production/Stable',
21           'Environment :: Console',
22           'Intended Audience :: End Users/Desktop',
23           'License :: OSI Approved :: GNU General Public License (GPL)',
24           'Operating System :: OS Independent',
25           'Programming Language :: Python :: Implementation :: CPython',
26           'Programming Language :: Python :: Implementation :: PyPy',
27           'Programming Language :: Python :: 2',
28           'Programming Language :: Python :: 2.7',
29           'Programming Language :: Python :: 3',
30           'Programming Language :: Python :: 3.3',
31           'Programming Language :: Python :: 3.4',
32           'Programming Language :: Python :: 3.5',
33           'Programming Language :: Python :: 3.6',
34       ],
35       packages=['ppu'],
36       scripts=[
37           'scripts/cmp.py', 'scripts/remove-old-files.py', 'scripts/rm.py',
38           'scripts/which.py',
39       ],
40       python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*',
41       )