-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
45 lines (39 loc) · 1.14 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
import re
from setuptools import setup
version = re.search(
'^__version__\\s*=\\s*"(.*)"',
open('elegant/__init__.py').read(),
re.M
).group(1)
with open("README.md", 'r') as f:
long_description = f.read()
install_requires = [
"networkx >= 1.1",
"numpy",
"PyQt5"
]
extras_require = {
"PDF": ["matplotlib", "pylatex"],
"docs": ["numpydoc", "sphinx_rtd_theme"],
"dev": ["PyQt5-stubs", "pytest"]
}
setup(
name="elegant",
version=version,
author="Eduardo Nunes & Fernando Dantas",
author_email="[email protected]",
description="Electrical Grid Analysis Tool",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/dioph/elegant",
packages=["elegant"],
entry_points={"console_scripts": ['elegant=elegant.interface:main']},
install_requires=install_requires,
extras_require=extras_require,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Intended Audience :: Education",
],
)