-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·50 lines (42 loc) · 1.44 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
#!/usr/bin/env python
#
import sys
from distutils.core import setup
# use the source code to get version information
from spectre.strings import version_str
__doc__="""SPECTRE: Computes spectra of molecules in solution
SPECTRE uses the polarizable embedding library in DALTON to compute
spectra for molecules in the condensed phase.
"""
def setup_spectre():
doclines = __doc__.split("\n")
setup(name="spectre",
version=version_str,
url = "https://github.com/steinmanngroup/spectre",
author = "Casper Steinmann",
author_email = "css@bio.aau.dk",
maintainer = "Casper Steinmann",
maintainer_email = "css@bio.aau.dk",
license = "MIT",
description = doclines[0],
long_description = "\n".join(doclines[2:]),
#classifiers = filter(None, classifiers.split("\n")),
platforms = ["Any."],
package_dir={'spectre': 'spectre'},
packages=['spectre', 'spectre.molecool', 'spectre.ml'],
scripts=['bin/spectre'],
data_files=[
('', ['README.md','LICENSE']),
('share', [
'share/dalton_loprop.bash',
'share/dalton_pde_monomer.bash', 'share/dalton_pde_dimer.bash',
'share/dalton_excited.bash'
]),
('share/ml', [
'share/ml/WAT.npz',
'share/ml/ACE.npz'
])
]
)
if __name__ == '__main__':
setup_spectre()