forked from kxxoling/PTable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (38 loc) · 1.31 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
#!/usr/bin/env python
from setuptools import setup
from prettytable import __version__ as version
def fread(filepath):
with open(filepath, 'r') as f:
return f.read()
setup(
name='PTable',
version=version,
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'ptable = prettytable.cli:main',
]
},
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: BSD License',
'Topic :: Text Processing'
],
license="BSD (3 clause)",
description='A simple Python library for easily displaying tabular data in a visually appealing ASCII table format',
long_description=fread('README.rst'),
author='Luke Maurits',
author_email='[email protected]',
maintainer='Kane Blueriver',
maintainer_email='[email protected]',
url='https://github.com/kxxoling/PTable',
py_modules=['prettytable', 'prettytable.cli', 'prettytable.prettytable',
'prettytable.factory', 'prettytable._compact'],
test_suite="test_prettytable",
)