summaryrefslogtreecommitdiff
path: root/setup.py
blob: 1f494015bcf6f682cf3710998c29e09f677e8c9e (plain)
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
#!/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',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: Implementation :: CPython',
        '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='luke@maurits.id.au',
    maintainer='Kane Blueriver',
    maintainer_email='kxxoling@gmail.com',
    url='https://github.com/kxxoling/PTable',
    py_modules=['prettytable', 'prettytable.cli', 'prettytable.prettytable',
                'prettytable.factory', 'prettytable._compact'],
    test_suite="test_prettytable",
)