forked from mirrors/LibreTranslate
Merge pull request #45 from ErQrYfkrju/main
fix static package_data for offline mode
This commit is contained in:
commit
4e0470f68c
1 changed files with 1 additions and 1 deletions
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…
Reference in a new issue