forked from SMTG-Bham/sumo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
66 lines (59 loc) · 2.55 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
"""
sumo: Heavy weight plotting tools.
"""
from setuptools import setup, find_packages
from sumo import __version__
import unittest
def load_test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('tests', pattern='test*.py')
return test_suite
with open('README.rst', 'r') as file:
long_description = file.read()
setup(
name='sumo',
version=__version__,
description=('Heavy weight plotting tools for ab initio '
'solid-state calculations'),
url='https://github.com/smtg-ucl/sumo',
author='Alex Ganose, Adam J. Jackson',
author_email='[email protected]',
long_description=long_description,
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Physics'
],
keywords='chemistry pymatgen dft vasp dos band',
test_suite='setup.load_test_suite',
packages=find_packages(),
install_requires=['spglib', 'numpy', 'scipy',
'h5py', 'phonopy>=2.1.3', 'matplotlib', 'seekpath'],
extras_require={'docs': ['sphinx', 'sphinx-argparse'],
':python_version=="3.5"': [
'pymatgen >=2016.12.30, <=2019.6.20'],
':python_version>="3.6"': ['pymatgen>=2017.12.30']
},
package_data={'sumo': ['symmetry/bradcrack.json',
'plotting/orbital_colours.conf',
'plotting/sumo_base.mplstyle',
'plotting/sumo_bs.mplstyle',
'plotting/sumo_dos.mplstyle',
'plotting/sumo_optics.mplstyle',
'plotting/sumo_phonon.mplstyle']},
data_files=['examples/orbital_colours.conf', 'LICENSE',
'requirements_rtd.txt'],
entry_points={'console_scripts': [
'sumo-bandplot = sumo.cli.bandplot:main',
'sumo-bandstats = sumo.cli.bandstats:main',
'sumo-dosplot = sumo.cli.dosplot:main',
'sumo-kgen = sumo.cli.kgen:main',
'sumo-phonon-bandplot = sumo.cli.phonon_bandplot:main',
'sumo-optplot = sumo.cli.optplot:main']}
)