Skip to content

Instantly share code, notes, and snippets.

@JacobHayes
Created March 1, 2023 15:36
Show Gist options
  • Save JacobHayes/110054b6c6d19ca9d6d811c8b4eca374 to your computer and use it in GitHub Desktop.
Save JacobHayes/110054b6c6d19ca9d6d811c8b4eca374 to your computer and use it in GitHub Desktop.
[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__"
from setuptools import setup; setup(name='my-package', version='0.0.1')
...
[tool.poetry.dependencies]
my-package = { path = "packages/my-package", develop = true }
@JacobHayes
Copy link
Author

Apparently gists don't support folders (/ in file names), so pretend the -- are / 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment