forked from wolever/pprintpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (43 loc) · 1.2 KB
/
setup.py
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
45
46
47
48
#!/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", "U").read()
except IOError:
long_description = "See https://github.com/joaonc/pprintpp2"
setup(
name="pprintpp",
version="0.4.0",
url="https://github.com/joaonc/pprintpp2",
author="David Wolever",
author_email="[email protected]",
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 """
Environment :: Console
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Topic :: Software Development
Topic :: Utilities
""".split(
"\n"
)
if x.strip()
],
)