]> git.phdru.name Git - ppu.git/blob - setup.py
Feat(devscripts): Remove `twine register` from release process
[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
6 try:
7     from setuptools import setup
8 except ImportError:
9     from distutils.core import setup
10
11 versionpath = join(abspath(dirname(__file__)), "ppu", "__version__.py")
12 load_source("ppu_version", versionpath)
13 from ppu_version import __version__  # noqa: ignore flake8 E402
14
15 setup(name='ppu',
16       version=__version__,
17       description='Broytman Portable Python Utilities',
18       long_description=open('README.rst', 'rU').read(),
19       author='Oleg Broytman',
20       author_email='phd@phdru.name',
21       url='http://phdru.name/Software/Python/ppu/',
22       license='GPL',
23       platforms=['any'],
24       keywords=[''],
25       classifiers=[
26           'Development Status :: 4 - Beta',
27           'Environment :: Console',
28           'Environment :: Web Environment',
29           'Intended Audience :: End Users/Desktop',
30           'License :: OSI Approved :: GNU General Public License (GPL)',
31           'Operating System :: OS Independent',
32           'Programming Language :: Python :: 2',
33           'Programming Language :: Python :: 2.7',
34           'Programming Language :: Python :: 3',
35           'Programming Language :: Python :: 3.3',
36           'Programming Language :: Python :: 3.4',
37           'Programming Language :: Python :: 3.5',
38           'Programming Language :: Python :: 3.6',
39       ],
40       packages=['ppu'],
41       scripts=[
42           'scripts/cmp.py', 'scripts/remove-old-files.py', 'scripts/rm.py',
43           'scripts/which.py',
44       ],
45       )