Skip to content

Commit

Permalink
Add package_data to distribute tutorial (#151)
Browse files Browse the repository at this point in the history
* Add package_data to distribute tutorial

* Roll version forward
  • Loading branch information
andrewgryan authored Oct 2, 2019
1 parent db94106 commit b0745e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion forest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
by Bokeh. Later releases will focus on dividing the API into re-usable
components.
"""
__version__ = '0.4.1'
__version__ = '0.4.2'

from .config import *
from . import (
Expand Down
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ def load(fname):
author_email="[email protected]",
description="Forecast visualisation and survey tool",
packages=setuptools.find_packages(),
package_data={
"forest": [
"templates/index.html",
"tutorial/*.json",
"tutorial/*.nc"
]
},
test_suite="test",
tests_require=load("requirements-dev.txt"),
entry_points={
Expand Down

0 comments on commit b0745e8

Please sign in to comment.