1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
#!/usr/bin/env python
import os
import sys
from setuptools import setup
os.chdir(os.path.dirname(sys.argv[0]) or ".")
try:
long_description = open("README.rst").read()
except IOError:
long_description = "See https://github.com/wolever/pprintpp"
setup(
name="pprintpp",
version="0.4.0",
url="https://github.com/wolever/pprintpp",
author="David Wolever",
author_email="david@wolever.net",
description="A drop-in replacement for pprint that's actually pretty",
long_description=long_description,
packages=["pprintpp"],
entry_points={
'console_scripts': [
'pypprint = pprintpp:console',
],
},
install_requires=[],
license="BSD",
classifiers=[ x.strip() for x in """
Development Status :: 3 - Alpha
Environment :: Console
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 3
Topic :: Software Development
Topic :: Utilities
""".split("\n") if x.strip() ],
)
|