forked from mailhexu/TB2J
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (46 loc) · 1.94 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
#!/usr/bin/env python
from setuptools import setup, find_packages
__version__ = "0.9.0.3"
long_description = """TB2J is a Python package aimed to compute automatically the magnetic interactions (superexchange and Dzyaloshinskii-Moriya) between atoms of magnetic crystals from DFT Hamiltonian based on Wannier functions or Linear combination of atomic orbitals. It uses the Green's function method and take the local rigid spin rotation as a perturbation. The package can take the output from Wannier90, which is interfaced with many density functional theory codes or from codes based on localised orbitals. A minimal user input is needed, which allows for an easily integration into a high-throughput workflows. """
setup(
name="TB2J",
version=__version__,
description="TB2J: First principle to Heisenberg exchange J using tight-binding Green function method",
long_description=long_description,
author="Xu He",
author_email="mailhexu@gmail.com",
license="BSD-2-clause",
packages=find_packages(),
scripts=[
"scripts/wann2J.py",
"scripts/siesta2J.py",
"scripts/abacus2J.py",
"scripts/TB2J_rotate.py",
"scripts/TB2J_rotateDM.py",
"scripts/TB2J_merge.py",
"scripts/TB2J_magnon.py",
"scripts/TB2J_magnon_dos.py",
"scripts/TB2J_downfold.py",
"scripts/TB2J_eigen.py",
],
install_requires=[
"numpy>1.16.5",
"scipy",
"matplotlib",
"ase>=3.19",
"tqdm",
"pathos",
"packaging>=20.0",
"pre-commit",
],
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
"License :: OSI Approved :: BSD License",
],
python_requires=">=3.6",
)