forked from cclib/cclib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·73 lines (58 loc) · 2.07 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# -*- coding: utf-8 -*-
#
# Copyright (c) 2016, the cclib development team
#
# This file is part of cclib (http://cclib.github.io) and is distributed under
# the terms of the BSD 3-Clause License.
"""cclib: parsers and algorithms for computational chemistry
cclib is a Python library that provides parsers for computational
chemistry log files. It also provides a platform to implement
algorithms in a package-independent manner.
"""
import sys
# Chosen from http://www.python.org/pypi?:action=list_classifiers
classifiers = """Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python
Topic :: Scientific/Engineering :: Chemistry
Topic :: Software Development :: Libraries :: Python Modules"""
def setup_cclib():
# Import from setuptools only if requested.
if 'egg' in sys.argv:
sys.argv.pop(sys.argv.index('egg'))
from setuptools import setup
from distutils.core import setup
# The list of packages to be installed.
cclib_packages = [
'cclib',
'cclib.bridge',
'cclib.io',
'cclib.method',
'cclib.parser',
'cclib.progress',
]
doclines = __doc__.split("\n")
setup(
name = "cclib",
version = "1.5.1",
url = "http://cclib.github.io/",
author = "cclib development team",
author_email = "[email protected]",
maintainer = "cclib development team",
maintainer_email = "[email protected]",
license = "BSD 3-Clause License",
description = doclines[0],
long_description = "\n".join(doclines[2:]),
classifiers = classifiers.split("\n"),
platforms = ["Any."],
packages = cclib_packages,
package_dir = { 'cclib':'src/cclib' },
scripts = ["src/scripts/ccget", "src/scripts/ccwrite", "src/scripts/cda"],
)
if __name__ == '__main__':
setup_cclib()