-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
53 lines (43 loc) · 1.56 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
49
50
51
52
53
#!/usr/bin/env python
# coding=utf-8
import os
from setuptools import setup, find_packages
THIS_FOLDER = os.path.dirname(os.path.abspath(__file__))
def _parse_requirement_file(path):
if not os.path.isfile(path):
return []
with open(path) as f:
requirements = [line.strip() for line in f if line.strip()]
return requirements
def get_install_requires():
requirement_file = os.path.join(THIS_FOLDER, "requirements.txt")
return _parse_requirement_file(requirement_file)
setup(
name="chartspy",
version="2.2.5",
url="https://chartspy.icopy.site/",
description="echarts g2plot klinechart highcharts tabulator python wrapper",
keywords='echarts g2plot klinechart highcharts tabulator python ',
packages=find_packages(exclude=("tests", "tests.*")),
author="yiliuyan",
author_email="[email protected]",
maintainer="yiliuyan",
maintainer_email="[email protected]",
package_data={'': ['*.*']},
long_description="",
long_description_content_type='text/markdown',
install_requires=get_install_requires(),
zip_safe=False,
platforms=["all"],
classifiers=[
'Programming Language :: Python',
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12'
],
)