-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
58 lines (54 loc) · 1.45 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from pathlib import Path
from pkg_resources import require, VersionConflict
from setuptools import setup, find_packages
with open(Path(__file__).parent / "src" / "pgm" / "version.py") as fp: exec(fp.read())
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
try:
require('setuptools>=38.3')
except VersionConflict:
print("Error: version of setuptools is too old (<38.3)!")
sys.exit(1)
setup(
name='phonon-gas-model',
version=__version__,
description='Free energy calculation using phonon gas model',
long_description=long_description,
long_description_content_type='text/markdown',
author='Hongjin Wang, Jingyi Zhuang',
author_email='[email protected], [email protected]',
url='https://github.com/MineralsCloud/pgm/',
packages=find_packages('src'),
package_dir={'':'src'},
install_requires=[
"click",
"cycler",
"kiwisolver",
"lazy-property",
"llvmlite",
"matplotlib",
"numba",
"numpy",
"pandas",
"pyparsing",
"python-dateutil",
"pytz",
"PyYAML",
"scientific-string",
"scipy",
"seaborn",
"six",
"text-stream",
],
entry_points={
'console_scripts': [
'pgm=pgm.cli.cli:main',
'pgm-run=pgm.cli.main:main',
],
}
)
if __name__ == "__main__":
pass