Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an empty setup.cfg, for editable installs
Hello from an empty setup.cfg file! This project is meant to be developed using an "editable installation". That is, an installation you get from running something like `pip install -e .`. With traditional distributions, from the pre-`pyproject.toml` days, this would be supported through something like `setup.py develop`. Later, Pip included support for `pip install -e .` in Setuptools-based installations that only had a `setup.cfg` (no `setup.py`). PEP 660 (https://peps.python.org/pep-0660/) has standardized editable installations that use only `pyproject.toml`. Unfortunately, Setuptools does not yet implement the hooks needed to support this. Luckily, the presence of a `setup.cfg` file is enough to trigger Pip to fall back to the existing Setuptools editable-install mechanism, which is still able to read project configuration from `pyproject.toml`. And so, we have an empty `setup.cfg`. Once pypa/setuptools#2816 is completed, the file can probably be removed.
- Loading branch information