]> git.phdru.name Git - ppu.git/blob - setup.py
Build(setup.py): Add `project_urls`
[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       project_urls={
18           'Homepage': 'http://phdru.name/Software/Python/ppu/',
19           'Documentation': 'http://phdru.name/Software/Python/ppu/docs/',
20           'Download': 'https://pypi.python.org/pypi/ppu/%s'
21           % ppu_version.__version__,
22           'Git repo': 'http://git.phdru.name/ppu.git/',
23           'Github repo': 'https://github.com/phdru/ppu',
24           'Issue tracker': 'https://github.com/phdru/ppu/issues',
25       },
26       license='GPL',
27       platforms='Any',
28       classifiers=[
29           'Development Status :: 5 - Production/Stable',
30           'Environment :: Console',
31           'Intended Audience :: End Users/Desktop',
32           'License :: OSI Approved :: GNU General Public License (GPL)',
33           'Operating System :: OS Independent',
34           'Programming Language :: Python :: Implementation :: CPython',
35           'Programming Language :: Python :: Implementation :: PyPy',
36           'Programming Language :: Python :: 2',
37           'Programming Language :: Python :: 2.7',
38           'Programming Language :: Python :: 3',
39           'Programming Language :: Python :: 3.3',
40           'Programming Language :: Python :: 3.4',
41           'Programming Language :: Python :: 3.5',
42           'Programming Language :: Python :: 3.6',
43       ],
44       packages=['ppu'],
45       scripts=[
46           'scripts/cmp.py', 'scripts/remove-old-files.py', 'scripts/rm.py',
47           'scripts/which.py',
48       ],
49       python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*',
50       )