-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
29 lines (27 loc) · 932 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
import numpy as np
from Cython.Build import cythonize
from setuptools import Extension, find_packages, setup
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='optimask',
version='1.1a',
packages=find_packages(),
install_requires=['numpy', 'pandas', 'cython'],
description="OptiMask: extracting the largest (non-contiguous) submatrix without NaN",
long_description_content_type='text/markdown',
long_description=long_description,
author='Cyril Joly',
license='MIT',
url='https://github.com/CyrilJl/optimask',
classifiers=['License :: OSI Approved :: MIT License'],
ext_modules=cythonize([
Extension(
"optimask.optimask_cython",
sources=["optimask/optimask_cython.pyx"],
include_dirs=[np.get_include()],
extra_compile_args=['-std=c99'],
extra_link_args=['-std=c99']
)
])
)