-
Notifications
You must be signed in to change notification settings - Fork 15
/
conanfile.py
33 lines (30 loc) · 1.16 KB
/
conanfile.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
from dev.conan.base import ScineConan
class ScineSparrowConan(ScineConan):
name = "scine_sparrow"
version = "3.0.0"
url = "https://github.com/qcscine/sparrow"
description = """Sparrow is a code for fast semiemprical quantum chemical calculations.
It provides the methods such as MNDO, AM1, RM1, PM3, PM6, DFTB0, DFTB2, and DFTB3.
Sparrow can calculate electronic energies as well as nuclear gradients and Hessians."""
options = {
"python": [True, False],
"tests": [True, False],
"coverage": [True, False],
"microarch": ["detect", "none"]
}
default_options = {
"python": False,
"tests": False,
"coverage": False,
"microarch": "none"
}
exports = "dev/conan/*.py"
exports_sources = ["dev/cmake/*", "src/*", "CMakeLists.txt",
"README.rst", "LICENSE.txt", "dev/conan/hook.cmake",
"dev/conan/glue/*"]
build_requires = "cereal/1.3.0"
requires = "scine_utilities/[~=4.0.0]"
cmake_name = "Sparrow"
def package_info(self):
super().package_info()
self.cpp_info.components["Sparrow"].libs = ["sparrow.module.so"]