forked from brentp/methylcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (28 loc) · 802 Bytes
/
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
from setuptools import setup
from distutils.extension import Extension
import numpy as np
import os.path as op
import sys
sys.path.insert(0, op.dirname(__file__))
try:
import methylcoder.version as V
except ImportError:
class V(object):
version = 0.0
ext_modules = [ Extension("methylcoder.cbowtie",
sources=["methylcoder/cbowtie.c"],
include_dirs=[np.get_include(), "methylcoder"]) ]
setup(
license="BSD",
name = "methylcoder",
version = V.version,
ext_modules = ext_modules,
packages=['methylcoder'],
package_dir={'methylcoder': 'methylcoder'},
zip_safe=False,
requires=['numpy', 'pyfasta'],
test_suite="nose.collector",
entry_points = {
'console_scripts': ['methylcoder = methylcoder:main']
}
)