forked from doakey3/DashTable
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·51 lines (41 loc) · 1.48 KB
/
setup.py
File metadata and controls
executable file
·51 lines (41 loc) · 1.48 KB
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
49
50
51
from pathlib import Path
import setuptools
def parse_requirements(requirements: str):
with open(requirements) as f:
return [
l.strip('\n') for l in f if l.strip('\n') and not l.startswith('#')
]
setuptools.setup(
name='dashtable2',
packages=[
'dashtable',
'dashtable.dashutils',
'dashtable.data2md',
'dashtable.data2rst',
'dashtable.data2simplerst',
'dashtable.grid2data',
'dashtable.html2data',
'dashtable.simple2data',
'dashtable.data2rst.cell',
'dashtable.html2data.restructify',
'dashtable.html2data.restructify.converters'
],
version=Path('version.txt').read_text(encoding='utf-8').strip(),
description='A library for converting HTML/Markdown/RST tables into ASCII tables and vice versa, rowspan and colspan allowed!',
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
author='doakey3 & gustavklopp & pasaopasen',
author_email='qtckpuhdsa@gmail.com',
url='https://github.com/PasaOpasen/dashtable2',
license='MIT',
keywords=[
'text table', 'conversion', 'documentation'
],
classifiers=[
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
],
install_requires=parse_requirements('./requirements.txt'),
)