-
-
Notifications
You must be signed in to change notification settings - Fork 192
/
setup.py
45 lines (41 loc) · 1.42 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
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'],
packages=[package_name, '{}/component_factory'.format(package_name), '{}/utils'.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',
'biopython>=1.77;python_version>="3.0"',
'biopython==1.76;python_version=="2.7"',
'colour',
'GEOparse>=1.1.0',
'jsonschema',
'parmed<=3.4.3',
'periodictable',
'requests'
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)