Skip to content

Commit

Permalink
make faster_whisper.assets as a valid python package to distribute (#772
Browse files Browse the repository at this point in the history
)

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 #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.
  • Loading branch information
otakutyrant committed Apr 1, 2024
1 parent e0c3a9e commit 7ecdd04
Showing 1 changed file with 0 additions and 0 deletions.
Empty file.

0 comments on commit 7ecdd04

Please sign in to comment.