Skip to content

Commit 0ea9b6a

Browse files
#679 make jupyter install by default and add version to package data
1 parent 5a30f15 commit 0ea9b6a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ def load_version():
2727
description="Python Battery Mathematical Modelling.",
2828
long_description=readme,
2929
url="https://github.com/pybamm-team/PyBaMM",
30-
# include_package_data=True,
30+
include_package_data=True,
3131
packages=find_packages(include=("pybamm", "pybamm.*")),
3232
package_data={
3333
"pybamm": [
34+
"./version",
3435
"../input/parameters/lithium-ion/*.csv",
3536
"../input/parameters/lithium-ion/*.py",
3637
"../input/parameters/lead-acid/*.csv",
@@ -46,6 +47,7 @@ def load_version():
4647
"autograd>=1.2",
4748
"scikit-fem>=0.2.0",
4849
"casadi>=3.5.0",
50+
"jupyter", # For example notebooks
4951
# Note: Matplotlib is loaded for debug plots, but to ensure pybamm runs
5052
# on systems without an attached display, it should never be imported
5153
# outside of plot() methods.
@@ -57,7 +59,6 @@ def load_version():
5759
"dev": [
5860
"flake8>=3", # For code style checking
5961
"black", # For code style auto-formatting
60-
"jupyter", # For documentation and testing
6162
],
6263
},
6364
)

0 commit comments

Comments
 (0)