-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (24 loc) · 790 Bytes
/
Copy pathsetup.py
File metadata and controls
32 lines (24 loc) · 790 Bytes
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
from setuptools import setup
import pip
from pip.req import parse_requirements
import os
def abspath(fname):
return os.path.join(os.path.dirname(__file__), fname)
def read(fname, split=False):
with open(abspath(fname)) as f:
lines = f.read()
if split:
lines = lines.splitlines()
return lines
def requirements(fname='requirements.txt'):
req = parse_requirements(fname, session=pip.download.PipSession())
return [str(r.req) for r in req]
setup(name='DeepCpG',
version='0.0.1',
description='Deep neural network for predicting single-cell ' +
'methylation states',
author='Christof Angermueller',
author_email='cangermueller@gmail.com',
license="BSD",
install_requires=requirements()
)