-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
58 lines (51 loc) · 1.62 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
from setuptools import find_packages, setup
def get_long_description():
with open('README.md') as f:
return f.read()
def get_requirements():
with open('requirements.txt') as f:
return f.read().splitlines()
import re
def normalize(name):
return re.sub(r"[-_.]+", "-", name).lower()
setup(
name=normalize('berry-suite'),
version="2.0.0",
author='Berry Developers',
author_email='[email protected]',
license="MIT",
url='https://ricardoribeiro-2020.github.io/berry/',
description='The berry suite of programs extracts the Bloch wavefunctions from DFT calculations in an ordered way so they can be directly used to make calculations.',
long_description=get_long_description(),
long_description_content_type='text/markdown',
packages=['berry', 'berry/_subroutines', 'berry/utils', 'berry/vis'],
install_requires=[
"numpy",
"networkx",
"findiff",
"matplotlib",
"scipy",
"argcomplete",
"colorama",
],
extras_require={
'dev': [
"twine",
],
},
classifiers=[
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Scientific/Engineering :: Physics',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
],
entry_points={
'console_scripts': [
'berry = berry.cli:berry_cli',
'berry-vis = berry.cli:berry_vis_cli',
],
},
)