-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
50 lines (45 loc) · 1.15 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
from pathlib import Path
from skbuild import setup
cmake_args = [
"-DBUILD_TESTING:BOOL=OFF",
"-Dconan_deps=ON",
"-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
]
dev_requirements = [
"setuptools",
"wheel",
"scikit-build",
"cmake>=3.12",
"ninja",
"cython",
"conan",
"pip!=20.0.0,!=20.0.1",
"pytest",
"ducc0>=0.18",
]
long_description = (
Path(__file__).parent / "src" / "pyssht" / "SSHT_Python_Documentation.md"
).read_text()
setup(
name="pyssht",
version="1.5.2",
author=[
"J. D. McEwen",
"C. R. G. Wallis",
"M. Buttner",
"B. Leistedt",
"Y. Wiaux",
],
install_requires=["numpy", "scipy"],
extras_require={"dev": dev_requirements, "ducc0": ["ducc0>=0.18"]},
description="Fast spin spherical transforms",
long_description=long_description,
long_description_content_type="text/markdown",
url="http://astro-informatics.github.io/ssht/",
package_dir={"pyssht": "src/pyssht"},
package_data={"pyssht": ["SSHT_Python_Documentation.md"]},
cmake_args=cmake_args,
cmake_languages=("C",),
license="GPL-3",
packages=["pyssht"],
)