Skip to content
Snippets Groups Projects
Unverified Commit f180d750 authored by ErQrYfkrju's avatar ErQrYfkrju Committed by GitHub
Browse files

fix static package_data for offline mode

package_data 'static/*'  won`t include sub directories so offline mode would result in 404 for static resources under js, css, fonts
parent 90de8e22
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ setup( ...@@ -13,7 +13,7 @@ setup(
packages=find_packages(), packages=find_packages(),
# packages=find_packages(include=['openpredict']), # packages=find_packages(include=['openpredict']),
# package_dir={'openpredict': 'openpredict'}, # package_dir={'openpredict': 'openpredict'},
package_data={'': ['static/*', 'templates/*']}, package_data={'': ['static/*', 'static/**/*', 'templates/*']},
include_package_data=True, include_package_data=True,
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment