-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (53 loc) · 1.87 KB
/
setup.py
File metadata and controls
61 lines (53 loc) · 1.87 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
import os
import re
from setuptools import setup
from setuptools import find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
requirements = [
"hyperactive",
"panel",
"numpy",
"pandas",
"tqdm",
"plotly",
"matplotlib",
"simple-data-collector",
]
def find_version(*filepath):
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, *filepath)) as fp:
version_match = re.search(
r"^__version__ = ['\"]([^'\"]*)['\"]", fp.read(), re.M
)
if version_match:
return version_match.group(1)
raise RuntimeError("Unable to find version string.")
setup(
name="hyperactive_progress_board",
version=find_version("hyperactive_progress_board/__init__.py"),
author="Simon Blanke",
author_email="simon.blanke@yahoo.com",
license="MIT",
description="Add on for Hyperactive package to visualize progress of optimization run.",
long_description=long_description,
long_description_content_type="text/markdown",
keywords=["visualization", "data-science"],
url="https://github.com/SimonBlanke/tabular-data-explorer",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
],
install_requires=requirements,
)