forked from SCM-NV/pyZacros
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
62 lines (54 loc) · 2.13 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
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
packages = ['scm.pyzacros'] + ['scm.pyzacros.'+i for i in find_packages('.')]
# To update the package version number, edit pyZacros/__version__.py
version = {}
with open(os.path.join(here, '__version__.py')) as f:
exec(f.read(), version)
with open('README.md') as readme_file:
readme = readme_file.read()
def package_files( directory ):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
extra_data_files = []
extra_data_files.extend( package_files('examples') )
extra_data_files.extend( package_files('tests') )
setup(
name='pyzacros',
version=version['__version__'],
description="Python Library for Automating Zacros Simulations",
long_description=readme + '\n\n',
author="Nestor F. Aguirre & Pablo Lopez-Tarifa",
author_email='[email protected]',
url='https://github.com/SCM-NV/pyZacros',
packages=packages,
package_dir = {'scm.pyzacros': '.'},
package_data={'': extra_data_files},
include_package_data=True,
license="LGPLv3",
zip_safe=False,
keywords = ['molecular modeling', 'computational chemistry', 'workflow', 'python interface'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Software Development :: Libraries :: Python Modules',
],
install_requires=[
'chemparse', 'scipy', 'numpy', 'networkx',
'plams@git+https://github.com/SCM-NV/PLAMS@master'],
extras_require={
'test': ['coverage', 'pytest>=3.9', 'pytest-cov'],
'doc': ['sphinx', 'sphinx_rtd_theme', 'nbsphinx']
}
)