Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrilJl authored May 21, 2024
1 parent b9970b8 commit f1101c2
Showing 1 changed file with 23 additions and 15 deletions.
38 changes: 23 additions & 15 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,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.1.2.1',
packages=find_packages(),
install_requires=['numpy', 'pandas'],
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=[Extension("optimask.optimask_cython",
sources=["optimask/optimask_cython.pyx"],
include_dirs=[np.get_include()])]
)
setup(
name='optimask',
version='1.1.1',
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']
)
])
)

0 comments on commit f1101c2

Please sign in to comment.