Include "templates" dir when creating packages with distutils

After installing the XBlock (https://github.com/edx/edx-platform/wiki/Installing-a-new-XBlock),
rendering will fail because the package needs to contain all
templates necessary for rendering. This change includes the template
dir.
parent ded76fc8
...@@ -36,5 +36,5 @@ setup( ...@@ -36,5 +36,5 @@ setup(
'vectordraw = vectordraw:VectorDrawXBlock', 'vectordraw = vectordraw:VectorDrawXBlock',
] ]
}, },
package_data=package_data("vectordraw", ["static", "public"]), package_data=package_data("vectordraw", ["static", "public", "templates"]),
) )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment