forked from wannier-berri/wannier-berri
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (43 loc) · 1.7 KB
/
Copy pathsetup.py
File metadata and controls
49 lines (43 loc) · 1.7 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# python3 setup.py bdist_wheel
# python3 -m twine upload dist/*
import setuptools
with open("README.rst", "r") as fh:
long_description = fh.read()
extras_require = {
"parallel" : ['ray[default]', 'protobuf==3.20.2'],
# protobuf req by ray :
# https://github.com/ray-project/ray/issues/25205 ,
# https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
"fftw" : ['pyFFTW>=0.12.0'],
"plot" : ['matplotlib'],
"symmetry" : [ 'sympy', 'spglib>=2', 'irrep>=2.2', 'spgrep'],
"phonons" : [ 'untangle' ],
}
extras_require["all"] = sum( (extras_require[k] for k in extras_require.keys()), [])
setuptools.setup(
name='wannierberri',
author="Stepan S. Tsirkin",
author_email="stepan.tsirkin@epfl.ch",
description="Constructuion of Wannier functions and Wannier interpolation",
long_description=long_description,
long_description_content_type="text/markdown",
python_requires='>=3.10',
install_requires=[
'numpy>=2.0',
'scipy>=1.13',
'colorama',
'termcolor',
'numba>=0.55.2',
'packaging>=20.8',
'fortio>=0.4',
'wannier90io'
],
extras_require=extras_require,
url="https://wannier-berri.org",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
],
)