-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_Warning: Package 'faster _whisper.assets' is absent from the packages
configuration.
#772
Comments
@otakutyrant , Could you find this line in your log? |
Hello, there was a line: I will make a PR to solve the issue if you agree. |
@otakutyrant Feel free to open a new PR if needed 😃 |
faster_whisper use `find_packages` in setup.py to scan directories and distribute valid python packages. According to https://setuptools.pypa.io/en/latest/userguide/package_discovery.html, the `find_packages` function will ignore `faster_whisper/assets` which is not a valid python package because it does not contain `__init__.py`. However, when I build the package, setuptools raise a waring as SYSTRAN#772, and I do not know why. So I add `__init__.py` under the `faster_whisper.assets` directory, making setuptools regard `faster_whisper.assets` is a part of distribution.
…YSTRAN#772) faster_whisper use `find_packages` in setup.py to scan directories and distribute valid python packages. According to https://setuptools.pypa.io/en/latest/userguide/package_discovery.html, the `find_packages` function will ignore `faster_whisper/assets` which is not a valid python package because it does not contain `__init__.py`. However, when I build the package, setuptools raise a waring as SYSTRAN#772, and I do not know why. So I add `__init__.py` under the `faster_whisper.assets` directory, making setuptools regard `faster_whisper.assets` is a part of distribution.
I was trying to package faster-whiser in Arch Linux. But in building the package, it warned:
The text was updated successfully, but these errors were encountered: