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)
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/',
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',
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.4',
42 'Programming Language :: Python :: 3.5',
43 'Programming Language :: Python :: 3.6',
44 'Programming Language :: Python :: 3.7',
48 'scripts/cmp.py', 'scripts/remove-old-files.py', 'scripts/rm.py',
51 python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',