]> git.phdru.name Git - ppu.git/blob - setup.py
Upgrade: http://phdru.name -> https://phdru.name
[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(
11     name='ppu',
12     version=ppu_version.__version__,
13     description='Broytman Portable Python Utilities',
14     long_description=open('README.rst', 'rU').read(),
15     long_description_content_type="text/x-rst",
16     author='Oleg Broytman',
17     author_email='phd@phdru.name',
18     url='https://phdru.name/Software/Python/ppu/',
19     project_urls={
20         'Homepage': 'https://phdru.name/Software/Python/ppu/',
21         'Documentation': 'https://phdru.name/Software/Python/ppu/docs/',
22         'Download': 'https://pypi.org/project/ppu/%s/'
23         % ppu_version.__version__,
24         'Git repo': 'https://git.phdru.name/ppu.git/',
25         'Github repo': 'https://github.com/phdru/ppu',
26         'Issue tracker': 'https://github.com/phdru/ppu/issues',
27     },
28     license='GPL',
29     platforms='Any',
30     classifiers=[
31         'Development Status :: 5 - Production/Stable',
32         'Environment :: Console',
33         'Intended Audience :: End Users/Desktop',
34         'License :: OSI Approved :: GNU General Public License (GPL)',
35         'Operating System :: OS Independent',
36         'Programming Language :: Python :: Implementation :: CPython',
37         'Programming Language :: Python :: Implementation :: PyPy',
38         'Programming Language :: Python :: 2',
39         'Programming Language :: Python :: 2.7',
40         'Programming Language :: Python :: 3',
41         'Programming Language :: Python :: 3.3',
42         'Programming Language :: Python :: 3.4',
43         'Programming Language :: Python :: 3.5',
44         'Programming Language :: Python :: 3.6',
45     ],
46     packages=['ppu'],
47     scripts=[
48         'scripts/cmp.py', 'scripts/remove-old-files.py', 'scripts/rm.py',
49         'scripts/which.py',
50     ],
51     python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*',
52 )