-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (36 loc) · 1.38 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
import re
from setuptools import setup
def get_version():
with open("tabler.py") as fp:
return re.search("__version__ = ['\"]([^'\"]+)['\"]", fp.read()).group(1)
def get_long_description():
with open("README.md", encoding="utf8") as f:
return f.read()
setup(
name='py-tabler',
version=get_version(),
url='https://github.com/ozcanyarimdunya/tabler',
license='MIT',
author='Özcan Yarımdünya',
author_email='ozcanyd@gmail.com',
description='A very simple tabular data formatter for console application.',
long_description=get_long_description(),
long_description_content_type="text/markdown",
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries",
],
py_modules=["tabler"],
)