Skip to content

Commit b34950a

Browse files
author
Martin Journois
committed
bugfix : add *.tpl etc to setup.py
1 parent e9d2a36 commit b34950a

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

folium/plugins/timestamped_geo_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __init__(self, data, transition_time=200, loop=True, auto_play=True):
7070
"""
7171
super(TimestampedGeoJson, self).__init__()
7272
self.plugin_name = 'TimestampedGeoJson'
73-
self.template = self.env.get_template('timestamped_geo_json.html')
73+
self.template = self.env.get_template('timestamped_geo_json.tpl')
7474
if 'read' in dir(data):
7575
self.data = data.read()
7676
elif type(data) is dict:

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ def walk_subpkg(name):
4040

4141
pkg_data = {'': ['*.js',
4242
'plugins/*.js',
43+
'plugins/*.html',
44+
'plugins/*.css',
45+
'plugins/*.tpl',
4346
'templates/*.html',
4447
'templates/*.js',
4548
'templates/*.txt'] + walk_subpkg('templates/tiles')}

0 commit comments

Comments
 (0)