-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathsetup.py
More file actions
64 lines (54 loc) · 2.77 KB
/
setup.py
File metadata and controls
64 lines (54 loc) · 2.77 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
62
63
64
from setuptools import setup
from codecs import open
from os import path
# import subprocess as sp
import warnings
import glob
version = {}
with open("version.py") as fp:
exec(fp.read(), version)
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
# sp.call("wget https://repo.continuum.io/miniconda/Miniconda2-4.5.4-Linux-x86_64.sh -O ~/miniconda.sh",\
# shell=True)
# sp.call("bash ~/miniconda.sh -b -p $HOME/miniconda", shell=True)
# sp.call('export PATH="$HOME/miniconda/bin:$PATH"', shell=True)
# sp.call('conda install -c -y conda-forge cartopy', shell=True)
warnings.warn("WARNING: Please ensure cartopy is installed - the viscynet library depends on cartopy.\
Due to failing builds of cartopy, this package cannot autoinstall the cartopy dependency.\
See https://scitools.org.uk/cartopy/docs/latest/installing.html#id2 for instructions.")
setup(
name='cynet',
author='zed.uchicago.edu',
author_email='ishanu@uchicago.edu',
version = str(version['__version__']),
packages=['cynet','viscynet','bokeh_pipe','cynet_utils'],
scripts=['bin/print_help.py'],
url='https://github.com/zeroknowledgediscovery/',
license='LICENSE.txt',
description='Learning Point Processes Using Deep Granger Nets',
keywords=['spatial', 'temporal', 'inference', 'statistical', 'causality'],
download_url='https://github.com/zeroknowledgediscovery/Cynet/archive/'+str(version['__version__'])+'.tar.gz',
long_description=long_description,
long_description_content_type='text/x-rst',
install_requires=["numpy >= 1.6","pandas >= 0.22.0","matplotlib >= 2.0.2","scipy >= 0.18.1", \
"tqdm >= 4.11.2","seaborn >= 0.8.0","sodapy >= 1.4.6","pyproj >= 1.9.5.1",\
"pyshp >= 1.2.12","haversine >= 0.4.5","joblib >= 0.12.2"],
python_requires='==3.*',
classifiers=[\
'Development Status :: 4 - Beta',
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3"],
data_files=[('example_cynet/example2/',['example_cynet/example2/config_pypi.yaml','example_cynet/example2/terrortest_small.py']),
('example_cynet/example2/models/',['example_cynet/example2/models/empty.txt']),
('example_cynet/example2/triplet/',['example_cynet/example2/triplet/empty.txt']),
('example_cynet/example2/split/',['example_cynet/example2/split/empty.txt']),
('example_cynet/',['example_cynet/example3.zip','cynet_crime_example.pdf'])],
include_package_data=True
)