forked from PyLops/pylops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·54 lines (48 loc) · 1.61 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
43
44
45
46
47
48
49
50
51
52
53
54
import os
from setuptools import find_packages, setup
def src(pth):
return os.path.join(os.path.dirname(__file__), pth)
# Project description
descr = (
"Python library implementing linear operators to allow solving large-scale optimization "
"problems without requiring to explicitly create a dense (or sparse) matrix."
)
# Setup
setup(
name="pylops",
description=descr,
long_description=open(src("README.md")).read(),
long_description_content_type="text/markdown",
keywords=["algebra", "inverse problems", "large-scale optimization"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Mathematics",
],
author="mrava",
author_email="[email protected]",
install_requires=["numpy >= 1.21.0", "scipy >= 1.4.0"],
extras_require={
"advanced": [
"llvmlite",
"numba",
"pyfftw",
"PyWavelets",
"scikit-fmm",
"spgl1",
]
},
packages=find_packages(exclude=["pytests"]),
use_scm_version=dict(
root=".", relative_to=__file__, write_to=src("pylops/version.py")
),
setup_requires=["pytest-runner", "setuptools_scm"],
test_suite="pytests",
tests_require=["pytest"],
zip_safe=True,
)