forked from romainsacchi/d3blocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (44 loc) · 1.65 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
import setuptools
import re
# versioning ------------
VERSIONFILE="d3blocks/__init__.py"
getversion = re.search( r"^__version__ = ['\"]([^'\"]*)['\"]", open(VERSIONFILE, "rt").read(), re.M)
if getversion:
new_version = getversion.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
# Setup ------------
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
install_requires=['numpy',
'pandas',
'tqdm',
'colourmap>=1.1.10',
'jinja2',
'd3graph>=2.3.7',
'requests',
'ismember>=1.0.1',
'scikit-learn',
'elasticgraph>=0.1.2',
'clusteval',
],
python_requires='>=3',
name='d3blocks',
version=new_version,
author="Erdogan Taskesen, Oliver Verver",
author_email="erdogant@gmail.com",
description="Python package d3blocks",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/d3blocks/d3blocks",
download_url = 'https://github.com/d3blocks/d3blocks/archive/'+new_version+'.tar.gz',
packages=setuptools.find_packages(), # Searches throughout all dirs for files to include
include_package_data=True, # Must be true to include files depicted in MANIFEST.in
license_files=["LICENSE"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved",
"Operating System :: OS Independent",
],
)