argosopentech / LibreTranslate-init

Shell scripts to install LibreTranslate
MIT License
53 stars 16 forks source link

Setup Error #17

Closed manuelkamp closed 11 months ago

manuelkamp commented 11 months ago

This line: ~/LibreTranslate/env/bin/pip install -e ~/LibreTranslate/ --no-cache-dir

results in the following error on current git version (it worked the last year fine):

ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /home/libretranslate/LibreTranslate
(A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)
argosopentech commented 11 months ago

Thanks for the bug report.

LibreTranslate recently switched from setup.py to Hatch which I'm guessing is causing this issue. I'll investigate.

argosopentech commented 11 months ago

This should be fixed. I just removed the "-e".

https://github.com/argosopentech/LibreTranslate-init/commit/04964642fb483da5a1ccafc761838b128bd3d4ae