-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
41 lines (37 loc) · 1 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
from pathlib import Path
from skbuild import setup
cmake_args = [
"-DBUILD_TESTING:BOOL=OFF",
"-Dconan_deps:BOOL=ON",
"-Dcfitsio:BOOL=ON",
"-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
]
build_requirements = [
"setuptools",
"wheel",
"scikit-build",
"cmake>=3.12",
"ninja",
"cython",
"conan",
"pip!=20.0.0,!=20.0.1",
]
setup(
name="pys2let",
version="2.2.6",
author=["Boris Leistedt", "Martin Büttner", "Jennifer Chan", "Jason McEwen"],
install_requires=["numpy"],
extras_require={
"dev": build_requirements + ["pytest", "black"],
"plots": ["scipy", "healpy"],
},
description="Fast spin spherical transforms",
url="http://astro-informatics.github.io/s2let/",
package_dir={"pys2let": "src/main/pys2let"},
cmake_args=cmake_args,
cmake_languages=("C",),
license="GPL-2",
packages=["pys2let"],
long_description=Path(__file__).with_name("README.md").read_text(),
long_description_content_type="text/markdown",
)