-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
43 lines (38 loc) · 1.3 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
import os
from pydefect import __version__
from setuptools import setup, find_packages
cmdclass = {}
ext_modules = []
module_dir = os.path.dirname(os.path.abspath(__file__))
reqs_raw = open(os.path.join(module_dir, "requirements.txt")).read()
reqs_list = [r.replace("==", "~=") for r in reqs_raw.split("\n")]
#with open("README.md", "r") as fh:
# long_description = fh.read()
setup(
name='pydefect',
version=__version__,
author='Yu Kumagai',
author_email='[email protected]',
url='https://github.com/kumagai-group/pydefect',
packages=find_packages(),
license='MIT license',
description="Integrated environment for first-principles point-defect "
"calculations",
classifiers=[
'Programming Language :: Python :: 3.7',
"License :: OSI Approved :: MIT License",
],
install_requires=reqs_list,
cmdclass=cmdclass,
ext_modules=ext_modules,
include_package_data=True,
entry_points={
'console_scripts': [
'pydefect = pydefect.cli.main:main',
'pydefect_util = pydefect.cli.main_util:main',
'pydefect_vasp = pydefect.cli.vasp.main_vasp:main',
'pydefect_vasp_util = pydefect.cli.vasp.main_vasp_util:main',
'pydefect_print = pydefect.cli.main_print_json:main'
]
}
)