forked from maxwellsh/DIGDriver
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
46 lines (36 loc) · 1.23 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
from setuptools import setup, find_packages
import os
import io
HERE = os.path.dirname(os.path.abspath(__file__))
def read(*parts, **kwargs):
filepath = os.path.join(HERE, *parts)
encoding = kwargs.pop("encoding", "utf-8")
with io.open(filepath, encoding=encoding) as fh:
text = fh.read()
return text
def get_requirements(path):
content = read(path)
return [req for req in content.split("\n") if req != "" and not req.startswith("#")]
# setup_requires = ["numpy"]
install_requires = get_requirements("requirements.txt")
setup(
name="DIGDriver",
version="0.2.0",
description="Flexible cancer driver element detection",
author="Maxwell Sherman",
author_email="msherman997@gmail.com",
url="",
packages=find_packages(),
# packages=["DIGDriver"],
# setup_requires=setup_requires,
install_requires=install_requires,
scripts=["scripts/DataExtractor.py",
"scripts/DigPretrain.py",
"scripts/DigPreprocess.py",
"scripts/mutationFunction.R",
"scripts/DigDriver.py"
],
include_package_data=True,
package_data={'': ['data/*']},
# entry_points={"console_scripts": ["clodius = clodius.cli.aggregate:cli"]},
)