-
Notifications
You must be signed in to change notification settings - Fork 75
/
setup.py
57 lines (51 loc) · 1.72 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
54
55
56
57
# coding=utf8
import pathlib
import re
from setuptools import setup, find_packages
here = pathlib.Path(__file__).parent
txt = (here / 'django_echarts' / '__init__.py').read_text()
__version__ = re.findall(r"^__version__ = '([^']+)'\r?$", txt, re.M)[0]
lib_classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Framework :: Django",
"Framework :: Django :: 2.0",
"Framework :: Django :: 2.1",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
'Operating System :: OS Independent'
]
with open('long_description.md', encoding='utf8') as f:
long_description = f.read()
setup(
name='django-echarts',
version=__version__,
packages=find_packages(exclude=['tests']),
url='https://github.com/kinegratii/django-echarts',
include_package_data=True,
license='MIT',
author='kinegratii',
author_email='[email protected]',
description='A visual site scaffold based on pyecharts and django.',
classifiers=lib_classifiers,
python_requires='>=3.7',
install_requires=[
'borax>=3.5.3',
'typing_extensions',
'htmlgenerator~=1.2'
],
long_description=long_description,
long_description_content_type='text/markdown'
)