-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
61 lines (57 loc) · 1.88 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
58
59
60
61
from setuptools import setup, find_packages
import re
def open_readme_file():
with open('README.rst') as f:
data = f.read()
return data
# Version is maintained in the __init__.py file
with open("isoplot/__init__.py") as f:
try:
VERSION = re.findall(r"^__version__ = ['\"]([^'\"]*)['\"]", f.read(), re.M)[0]
except IndexError:
raise RuntimeError('Unable to determine version.')
setup(
name = "isoplot",
version = VERSION,
description = 'Generate figures from Isocor output',
classifiers = ["Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: French",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Bio-Informatics"],
long_description = open_readme_file(),
packages = find_packages(),
install_requires = [
"numpy>=1.19.1",
"pandas>=1.1.1",
"matplotlib>=3.3.1",
"seaborn>=0.10.1",
"natsort>=7.0.1",
"bokeh==2.0.2",
"ipywidgets>=7.5.1",
"colorcet>=2.0.2",
"openpyxl>=3.0.5",
"xlrd>=1.2.0"
],
extras_require={ # Optional
'dev': ['Sphinx',
"sphinx-argparse",
"autodoc",
"sphinx_rtd_theme",
"sdist",
"twine",
"pytest"
]
},
entry_points = {
'console_scripts': [
'isoplot = isoplot.main.cli_process:main',
]},
url = "https://github.com/LoloPopoPy/Isoplot",
author = "Loïc Le Grégam",
author_email = "[email protected]"
)