Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
91 lines (83 loc) · 2.99 KB
/
Copy pathsetup.py
File metadata and controls
91 lines (83 loc) · 2.99 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#!/usr/bin/env python
from __future__ import print_function
from setuptools import find_packages, setup
def read_file(path):
# if this fails on windows then add the following environment variable (PYTHONUTF8=1)
with open(path) as contents:
return contents.read()
# Convert Markdown to RST for PyPI
# http://stackoverflow.com/a/26737672
try:
import pypandoc
pypandoc_func = (
pypandoc.convert_file if hasattr(pypandoc, "convert_file") else pypandoc.convert
)
long_description = pypandoc_func("DESCRIPTION.md", "rst")
except (IOError, ImportError, OSError):
long_description = read_file("DESCRIPTION.md")
setup(
name="dtale",
version="3.22.0",
author="MAN Alpha Technology",
author_email="ManAlphaTech@man.com",
description="Web Client for Visualizing Pandas Objects",
license="LGPL",
long_description=long_description,
keywords=["numeric", "pandas", "visualization", "flask"],
url="https://github.com/man-group/dtale",
install_requires=read_file("requirements.txt").splitlines(),
extras_require={
"arctic": ["arctic <= 1.79.4"],
"arcticdb": ["arcticdb"],
"dash-bio": [
"ParmEd==3.4.3; python_version == '3.6'",
"dash-bio; python_version > '3.0'",
"dash-bio==0.7.1; python_version == '2.7'",
],
"ngrok": ["flask-ngrok; python_version > '3.0'"],
"r": ["rpy2; python_version > '3.0'"],
"redis": read_file("requirements-redis.txt").splitlines(),
"streamlit": ["streamlit"],
"swifter": ["swifter"],
"tests": read_file("requirements-test.txt").splitlines(),
},
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
"Programming Language :: Python :: 2.7",
"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",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.14",
],
packages=find_packages(exclude=["tests*", "script*"]),
package_data={
"dtale": [
"dash_application/components/*",
"static/dist/*",
"static/dash/*",
"static/css/*",
"static/fonts/*",
"static/images/*",
"static/images/**/*",
"static/maps/*",
"templates/**/*",
"templates/**/**/*",
"translations/*",
]
},
entry_points={
"console_scripts": [
"dtale = dtale.cli.script:main",
"dtale-streamlit = dtale.cli.streamlit_script:main",
]
},
zip_safe=False,
)