Skip to content

Commit

Permalink
Install sherlock directory as a module
Browse files Browse the repository at this point in the history
Was previously polluting the site-packages directory with top-level
python files
  • Loading branch information
mjsir911 committed May 22, 2024
1 parent 0ecb496 commit a4f2768
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"

[project.scripts]
sherlock = "sherlock:main"
sherlock = "sherlock.sherlock:main"

[project.urls]
Homepage = "http://sherlock-project.github.io/"
Expand Down Expand Up @@ -39,10 +39,10 @@ classifiers = [

[tool.setuptools.dynamic]
dependencies = { file = [ "requirements.txt" ] }
version = { attr = "sherlock.__version__" }
version = { attr = "sherlock.sherlock.__version__" }

[tool.setuptools]
package-dir = {"" = "sherlock"}
packages = [ "sherlock" ]

[tool.setuptools.package-data]
"*" = ["*.json"]

0 comments on commit a4f2768

Please sign in to comment.