forked from jpiper/pyDNase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (45 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
47
48
49
50
51
__author__ = 'Jason Piper'
import imp
current_version = imp.load_source('lol', 'pyDNase/_version.py').__version__
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup
from distutils.extension import Extension
setup(
name='pyDNase',
version=current_version,
description='DNase-seq analysis library',
long_description=open('README.rst',"rt").read(),
author='Jason Piper',
author_email='[email protected]',
url='http://jpiper.github.io/pyDNase',
license='MIT',
ext_modules = [Extension("pyDNase.footprinting.WellingtonC", sources = ["pyDNase/footprinting/WellingtonC.c"], extra_compile_args=['-std=c99'])],
packages= [
'pyDNase',
'pyDNase.footprinting',
],
install_requires=[
# Not enforcing versions for numpy as it can be a bitch to upgrade
"Cython",
"numpy", # Tested on >=1.5.0
"matplotlib < 2.0.0", # mpl > 2.0 only works on py3
"pysam >= 0.8.1",
"clint >= 0.3.2",
],
package_data = {'pyDNase':["data/*"]},
scripts=[
"pyDNase/scripts/dnase_cut_counter.py",
"pyDNase/scripts/dnase_average_profile.py",
"pyDNase/scripts/dnase_to_javatreeview.py",
"pyDNase/scripts/dnase_wig_tracks.py",
"pyDNase/scripts/wellington_footprints.py",
"pyDNase/scripts/wellington_bootstrap.py",
"pyDNase/scripts/dnase_to_JSON.py",
"pyDNase/scripts/dnase_ddhs_scorer.py",
"pyDNase/scripts/examples/example_footprint_scores.py",
"pyDNase/scripts/dnase_to_JSON.py",
"pyDNase/scripts/dnase_bias_estimator.py"],
test_suite="test",
)