forked from rosenbrockc/aflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (61 loc) · 1.83 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
67
68
#!/usr/bin/env python
try:
from setuptools import setup
args = {}
except ImportError:
from distutils.core import setup
print(
"""\
*** WARNING: setuptools is not found. Using distutils...
"""
)
from setuptools import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, "rst")
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, "r").read()
from os import path
setup(
name="aflow",
version="0.0.11-patched",
description="Python API for searching AFLOW database. Forked from rosenbrockc/aflow",
long_description="" if not path.isfile("README.md") else read_md("README.md"),
author="Conrad W Rosenbrock",
author_email="[email protected]",
maintainer="T.Tian",
maintainer_email="[email protected]",
url="https://github.com/ulissigroup/aflow",
license="MIT",
setup_requires=[
"pytest-runner",
],
tests_require=["pytest", "python-coveralls"],
install_requires=[
"termcolor",
"numpy",
"six",
# "jinja2",
# "beautifulsoup4",
"ase",
"sympy",
],
packages=["aflow"],
scripts=[],
package_data={"aflow": ["templates/*", "api/*.json"]},
include_package_data=True,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)