Skip to content

Commit

Permalink
Fix pip install <local directory>
Browse files Browse the repository at this point in the history
Installing the local directory from other projects using `pip` fails:
```sh
$ cd chws_tools
$ pip install ../east_asian_spacing
...
ModuleNotFoundError: No module named 'setuptools'
```

This change can work around the problem as described at:
  python-poetry/poetry#3001
  • Loading branch information
kojiishi committed Dec 28, 2021
1 parent 7795404 commit 5c725b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["poetry-core>=1.0.0"]
requires = ["poetry-core>=1.0.0", "setuptools"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
Expand Down

0 comments on commit 5c725b1

Please sign in to comment.