-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
executable file
·50 lines (45 loc) · 1.75 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
from setuptools import setup, find_packages
from codecs import open
import os
import glob
__author__ = "The aenet Development Team"
__email__ = "[email protected]"
here = os.path.abspath(os.path.dirname(__file__))
package_name = 'aenet'
package_description = 'Python interface for the aenet package'
# Get the long description from the README file
with open(os.path.join(here, 'README.md'), encoding='utf-8') as fp:
long_description = fp.read()
# Get version number from the VERSION file
with open(os.path.join(here, package_name, 'VERSION')) as fp:
version = fp.read().strip()
setup(
name=package_name,
version=version,
description=package_description,
long_description=long_description,
author=__author__,
author_email=__email__,
license='MPL',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
'Programming Language :: Python :: 3'
],
keywords=['materials science', 'machine learning'],
packages=find_packages(exclude=['tests']),
scripts=[os.path.join("scripts", "aenet")
] + glob.glob(os.path.join("scripts", "*.py")),
include_package_data=True,
data_files=[('data', ['aenet/data/AtomicScatteringFactors.json',
'aenet/data/ShannonRadii.json',
'aenet/data/species.json'])],
install_requires=['numpy>=1.20.1',
'scipy>=1.6.2',
'pandas>=1.2.4',
'tables>=3.6.1']
)