mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-01-29 18:04:09 +02:00
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
This commit is contained in:
parent
90de8e22a0
commit
f180d750fd
2
setup.py
2
setup.py
@ -13,7 +13,7 @@ setup(
|
||||
packages=find_packages(),
|
||||
# packages=find_packages(include=['openpredict']),
|
||||
# package_dir={'openpredict': 'openpredict'},
|
||||
package_data={'': ['static/*', 'templates/*']},
|
||||
package_data={'': ['static/*', 'static/**/*', 'templates/*']},
|
||||
include_package_data=True,
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
|
Loading…
x
Reference in New Issue
Block a user