sturdy-dev / semantic-code-search

Search your codebase with natural language • CLI • No data leaves your computer
GNU Affero General Public License v3.0
297 stars 26 forks source link

Update setup.py: fix pip / pipx editable install #23

Open ackalker opened 1 year ago

ackalker commented 1 year ago

This fixes ModuleNotFound error when the package is installed in editable mode e.g.: pip install -e . See https://stackoverflow.com/a/66710618 for more information.

ackalker commented 1 year ago

More background on why an empty package name in package_dir is needed is in the documentation.