forked from deepmodeling/dpdata
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (31 loc) · 1.18 KB
/
setup.py
File metadata and controls
36 lines (31 loc) · 1.18 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
# -*- coding: utf-8 -*-
from os import path
import setuptools
readme_file = path.join(path.dirname(path.abspath(__file__)), 'README.md')
try:
from m2r import parse_from_file
readme = parse_from_file(readme_file)
except ImportError:
with open(readme_file) as f:
readme = f.read()
# install_requires = ['xml']
install_requires=['numpy>=1.14.3', 'monty']
setuptools.setup(
name="dpdata",
use_scm_version={'write_to': 'dpdata/_version.py'},
setup_requires=['setuptools_scm'],
author="Han Wang",
author_email="wang_han@iapcm.ac.cn",
description="Manipulating data formats of DeePMD-kit, VASP, QE, and LAMMPS, etc.",
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/deepmodeling/dpdata",
packages=['dpdata', 'dpdata/vasp', 'dpdata/lammps', 'dpdata/md', 'dpdata/deepmd', 'dpdata/pwscf', 'dpdata/gaussian', 'dpdata/cp2k'],
package_data={'dpdata':['*.json']},
classifiers=[
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
],
keywords='lammps vasp deepmd-kit',
install_requires=install_requires,
)