-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·57 lines (50 loc) · 1.85 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·57 lines (50 loc) · 1.85 KB
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
#!/usr/bin/env python
import os
import re
from io import open
from setuptools import setup, find_packages
def get_property(property, package):
result = re.search(
r'{}\s*=\s*[\'"]([^\'"]*)[\'"]'.format(property),
open(package + '/__init__.py').read(),
)
return result.group(1)
from os import path
this_dir = path.abspath(path.dirname(__file__))
with open(path.join(this_dir, 'README.rst'), encoding='utf8') as f:
long_description = f.read()
# Scripts
scripts = []
for dirname, dirnames, filenames in os.walk('scripts'):
for filename in filenames:
if filename.endswith('.py') or filename.endswith('.sh'):
scripts.append(os.path.join(dirname, filename))
setup(
name='sgdml_dataset_generation',
version=get_property('__version__', 'sgdml_dataset_generation'),
description='Parallelize computation of forces using QChem on SLURM queue',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 1 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: Education',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Software Development :: Libraries :: Python Modules',
],
url='https://github.com/humeniuka/sGDML_dataset_generation',
author='Alexander Humeniuk',
author_email='alexander.humeniuk@gmail.com',
license='LICENSE.txt',
packages=find_packages(),
install_requires=['numpy', 'ase', 'tqdm', 'torchani'],
scripts=scripts,
include_package_data=True,
zip_safe=False,
)