forked from plotly/dash-bio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (33 loc) · 1.16 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
import json
import os
from setuptools import setup
from io import open
filepath = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md')
with open(filepath, encoding='utf-8') as f:
long_description = f.read()
with open(os.path.join('dash_bio', 'package-info.json'), encoding='utf-8') as f:
package = json.load(f)
package_name = package["name"].replace(" ", "_").replace("-", "_")
setup(
name=package_name,
version=package["version"],
url='http://github.com/plotly/{}'.format(package_name.replace('_', '-')),
author=package['author'],
author_email='[email protected]',
packages=[package_name, '{}/component_factory'.format(package_name)],
include_package_data=True,
description=package['description'] if 'description' in package else package_name,
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=[
'dash>=1.6.1',
'pandas',
'scipy',
'scikit-learn>=0.20.1'
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)