-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (43 loc) · 974 Bytes
/
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
import sys
from lyncs_setuptools import setup, CMakeExtension, find_package
from lyncs_clime import __path__ as lime_path
install_requires = [
"dataclasses",
"lyncs-setuptools",
"lyncs-cppyy",
"lyncs-clime",
"numpy",
]
findMPI = find_package("MPI")
if findMPI["found"]:
install_requires.append("lyncs_mpi")
setup(
"lyncs_tmLQCD",
exclude=["*.config"],
data_files=[(".", ["config.py.in"])],
ext_modules=[
CMakeExtension(
"lyncs_tmLQCD.lib",
".",
[
"-DLIME_PATH=%s" % lime_path[0],
],
)
],
install_requires=install_requires,
extras_require={
"test": ["pytest", "pytest-cov", "lyncs-setuptools[pylint]", "scipy"],
},
keywords=[
"Lyncs",
"tmLQCD",
"Lattice QCD",
"Wilson",
"Twisted-mass",
"Clover",
"Fermions",
"HMC",
"Actions",
"ETMC",
],
)