-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (26 loc) · 718 Bytes
/
Copy pathsetup.py
File metadata and controls
32 lines (26 loc) · 718 Bytes
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
"""Setup script for cqcpy
"""
import os
from setuptools import setup
def get_version(fname):
gvar = {}
with open(fname) as f:
exec(f.read(), gvar)
return gvar["__version__"]
def run():
"""Run the setup script
"""
cdir = os.path.dirname(os.path.abspath(__file__))
version_path = os.path.join(cdir, "cqcpy", "version.py")
__version__ = get_version(version_path)
setup(name='cqcpy',
version=__version__,
author="Alec White",
description="Some quantum chemistry utilities",
install_requires=[
"numpy",
"pyscf"],
license="MIT",
packages=["cqcpy"])
if __name__ == "__main__":
run()