mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-26 01:41:00 +00:00
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(),
|
||||||
# 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': [
|
||||||
|
|
Loading…
Reference in a new issue