-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
31 lines (26 loc) · 861 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
try:
from setuptools import setup
from setuptools.extension import Extension
except ImportError:
from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize
import numpy as np
sourcefiles = ['_pglasso.pyx', '_pglasso.c', 'dpshift.pyx', '__init__.py']
setup(
name = "pglasso",
version = "1.0.2",
author='Maxim Grechkin',
author_email='[email protected]',
url="http://pathglasso-leelab.cs.washington.edu",
packages=['pglasso'],
scripts=["pglasso/__init__.py"],
description="Pathway Graphical Lasso implementation",
license="MIT",
ext_modules = cythonize( Extension("_pglasso", ["_pglasso.pyx"], include_dirs=[np.get_include()])),
install_requires=[
"cython >= 0.20.1",
"numpy >= 1.8.0",
"networkx >= 1.8.1"
]
)