-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (40 loc) · 1.25 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
from setuptools import setup, Extension
from Cython.Build import cythonize
import numpy
extensions = [
Extension(
"halko.shared",
["halko/shared.pyx"],
extra_compile_args=["-fopenmp", "-O3", "-g0", '-Wno-unreachable-code'],
extra_link_args=["-fopenmp"],
include_dirs=[numpy.get_include()],
define_macros=[('NPY_NO_DEPRECATED_API', 'NPY_1_7_API_VERSION')]
)
]
setup(
name="halkoSVD",
version="0.2.4",
author="Jonas Meisner",
author_email="[email protected]",
description="Fast Python/Cython implementation of the PCAone Halko algorithm",
long_description_content_type="text/markdown",
long_description=open("README.md").read(),
url="https://github.com/Rosemeis/halkoSVD",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
],
python_requires=">=3.7",
install_requires=[
"cython>3.0.0",
"numpy>2.0.0",
],
packages=["halko"],
entry_points={
"console_scripts": ["halkoSVD=halko.main:main"]
},
ext_modules=cythonize(extensions),
include_dirs=[numpy.get_include()]
)