3 from imp import load_source
4 from os.path import abspath, dirname, join
5 from setuptools import setup
7 versionpath = join(abspath(dirname(__file__)), "ppu", "__version__.py")
8 ppu_version = load_source("ppu_version", versionpath)
11 version=ppu_version.__version__,
12 description='Broytman Portable Python Utilities',
13 long_description=open('README.rst', 'rU').read(),
14 long_description_content_type="text/x-rst",
15 author='Oleg Broytman',
16 author_email='phd@phdru.name',
17 url='http://phdru.name/Software/Python/ppu/',
19 'Homepage': 'http://phdru.name/Software/Python/ppu/',
20 'Documentation': 'http://phdru.name/Software/Python/ppu/docs/',
21 'Download': 'https://pypi.python.org/pypi/ppu/%s'
22 % ppu_version.__version__,
23 'Git repo': 'http://git.phdru.name/ppu.git/',
24 'Github repo': 'https://github.com/phdru/ppu',
25 'Issue tracker': 'https://github.com/phdru/ppu/issues',
30 'Development Status :: 5 - Production/Stable',
31 'Environment :: Console',
32 'Intended Audience :: End Users/Desktop',
33 'License :: OSI Approved :: GNU General Public License (GPL)',
34 'Operating System :: OS Independent',
35 'Programming Language :: Python :: Implementation :: CPython',
36 'Programming Language :: Python :: Implementation :: PyPy',
37 'Programming Language :: Python :: 2',
38 'Programming Language :: Python :: 2.7',
39 'Programming Language :: Python :: 3',
40 'Programming Language :: Python :: 3.3',
41 'Programming Language :: Python :: 3.4',
42 'Programming Language :: Python :: 3.5',
43 'Programming Language :: Python :: 3.6',
47 'scripts/cmp.py', 'scripts/remove-old-files.py', 'scripts/rm.py',
50 python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*',