Skip to content

Commit e61e15e

Browse files
committed
Fixed setup file to work with datasets.
The setup.py file did not register the datasets module properly. This is now fixed.
1 parent f2cb8b3 commit e61e15e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ def write_readme():
127127
data_files=[(os.path.join(ipython_dir, "nbextensions/gmaps_js"),
128128
["gmaps/js/heatmap_view.js"])],
129129
classifiers=classifiers,
130-
packages=["gmaps"],
130+
packages=["gmaps", "gmaps.datasets"],
131+
package_dir={"gmaps.datasets" : "gmaps/datasets" },
132+
package_data={"gmaps.datasets": ["metadata.yaml","data/*.csv"]},
131133
url=r"https://github.com/pbugnion/gmaps",
132134
license="BSD License",
133135
platforms=["Linux", "Mac OS", "Windows"]

0 commit comments

Comments
 (0)