-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (39 loc) · 1.51 KB
/
setup.py
File metadata and controls
44 lines (39 loc) · 1.51 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
from setuptools import setup, find_packages
from codecs import open
import os
import glob
__author__ = "Nongnuch Artrith, Alexander Urban"
__email__ = "nartrith@atomistic.net, aurban@atomistic.net"
here = os.path.abspath(os.path.dirname(__file__))
package_name = 'howru'
package_description = 'Optimize Hubbard U parameters for DFT+U'
# Get the long description from the README file
with open(os.path.join(here, 'README.rst'), 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,
url='howru.atomistic.net',
author=__author__,
author_email=__email__,
license='MPL2',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Chemistry',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
keywords=['percolation', 'materials science', 'monte carlo'],
packages=find_packages(exclude=['tests']),
install_requires=['numpy', 'scipy', 'pymatgen'],
scripts=glob.glob(os.path.join("scripts", "*.py"))
)