forked from zeroknowledgediscovery/quasinet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
81 lines (72 loc) · 2.46 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
from setuptools import setup, Extension, find_packages
from codecs import open
from os import path
import warnings
# try:
# from Cython.Build import cythonize
# USE_CYTHON = True
# except ImportError:
# USE_CYTHON = False
package_name = 'quasinet'
example_dir = 'examples/'
example_data_dir = example_dir + 'example_data/'
# ext = '.pyx' if USE_CYTHON else '.c'
# extensions = [
# Extension("{}".format(package_name),
# ["{}/*".format(package_name) + ext])]
# if USE_CYTHON:
# extensions = cythonize(extensions)
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.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name=package_name,
author='zed.uchicago.edu',
author_email='ishanu@uchicago.edu',
version = str(version['__version__']),
packages=find_packages(),
# package_data={'qnet_trees': ['*/*/*'] },
scripts=[],
url='https://github.com/zeroknowledgediscovery/',
license='LICENSE.txt',
description='Utitilies for constructing and manipulating models for non-local structural dependencies in genomic sequences',
keywords=[
'decision trees',
'machine learning',
'computational biology'],
download_url='https://github.com/zeroknowledgediscovery/quasinet/archive/'+str(version['__version__'])+'.tar.gz',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=[
"scikit-learn",
"scipy",
"numpy",
"numba",
"pandas",
"joblib",
"biopython"],
python_requires='>=3.6',
classifiers=[
'Development Status :: 4 - Beta',
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Software Development :: Libraries",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6"],
# data_files=[
# ('qnet_example/example1', [
# example_dir + "create_qnet.py",
# example_dir + "measure_qdistance.py",
# example_data_dir + "cchfl_test.csv"
# ])
# ],
include_package_data=True,
# ext_modules=extensions,
# zip_safe=False
)