3 from imp import load_source
4 from os.path import abspath, dirname, join
7 from setuptools import setup
10 from distutils.core import setup
15 kw['python_requires'] = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*'
17 versionpath = join(abspath(dirname(__file__)), "ppu", "__version__.py")
18 load_source("ppu_version", versionpath)
19 from ppu_version import __version__ # noqa: ignore flake8 E402
23 description='Broytman Portable Python Utilities',
24 long_description=open('README.rst', 'rU').read(),
25 author='Oleg Broytman',
26 author_email='phd@phdru.name',
27 url='http://phdru.name/Software/Python/ppu/',
31 'Development Status :: 4 - Beta',
32 'Environment :: Console',
33 'Environment :: Web Environment',
34 'Intended Audience :: End Users/Desktop',
35 'License :: OSI Approved :: GNU General Public License (GPL)',
36 'Operating System :: OS Independent',
37 'Programming Language :: Python :: Implementation :: CPython',
38 'Programming Language :: Python :: Implementation :: PyPy',
39 'Programming Language :: Python :: 2',
40 'Programming Language :: Python :: 2.7',
41 'Programming Language :: Python :: 3',
42 'Programming Language :: Python :: 3.3',
43 'Programming Language :: Python :: 3.4',
44 'Programming Language :: Python :: 3.5',
45 'Programming Language :: Python :: 3.6',
49 'scripts/cmp.py', 'scripts/remove-old-files.py', 'scripts/rm.py',