forked from TomTranter/JellyBaMM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (41 loc) · 1.2 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 os
import sys
from distutils.util import convert_path
sys.path.append(os.getcwd())
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
main_ = {}
ver_path = convert_path("ecm/__init__.py")
with open(ver_path) as f:
for line in f:
if line.startswith("__version__"):
exec(line, main_)
setup(
name="ecm",
description="Equivalent Circuit Model for battery modelling using PyBaMM",
version=main_["__version__"],
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
],
packages=["ecm"],
install_requires=[
"numba",
"pybamm",
"openpnm",
"ffmpeg-python"
],
author="Tom Tranter",
author_email="t.g.tranter@gmail.com",
url="https://ecm.readthedocs.io/en/latest/",
project_urls={
"Documentation": "https://ecm.readthedocs.io/en/latest/",
"Source": "https://github.com/TomTranter/pybamm_pnm",
"Tracker": "https://github.com/TomTranter/pybamm_pnm/issues",
},
)