Created
March 1, 2023 15:36
-
-
Save JacobHayes/110054b6c6d19ca9d6d811c8b4eca374 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[build-system] | |
# Pin setuptools to before v64, which changes how editable wheels are built/installed, which static analysis tools don't understand: | |
# - https://github.com/pypa/setuptools/issues/3518 | |
# - https://github.com/python/mypy/issues/13392 | |
requires = ["setuptools==63.4.3", "wheel"] | |
build-backend = "setuptools.build_meta:__legacy__" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from setuptools import setup; setup(name='my-package', version='0.0.1') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
[tool.poetry.dependencies] | |
my-package = { path = "packages/my-package", develop = true } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apparently gists don't support folders (
/
in file names), so pretend the--
are/
😁