refactor: setup.cfg and dev requirements (#504)

* refactor: use setup.cfg instead

* refactor: use dev extra

* fix: restore dev requiremetns
This commit is contained in:
Henry Schreiner
2021-01-02 11:33:38 -05:00
committed by GitHub
parent 10c052b5ef
commit bc8716c188
12 changed files with 93 additions and 70 deletions
+15
View File
@@ -32,8 +32,21 @@ So, if we can, I'd like to improve the experience on errors as well. In [this](h
Maintainer notes
----------------
## Local testing
You should run:
```python
python3 -m venv venv
. venv/bin/activate
pip install -e .[dev]
```
To prepare a development environment.
## Testing minimal configs
cibuildwheel's _minimal_ example configs can be tested on a simple project on cibuildwheel's existing CI. These should be run whenever the minimal configs change.
To test minimal configs, make sure you have a clean git repo, then run the script:
@@ -48,6 +61,8 @@ The script then outputs a Markdown table that can be copy/pasted into a PR to mo
## Preparing environments
This has been moved to using docker, so you only need the following instructions if you add `--no-docker` to avoid using docker.
The dependency update script in the next section requires multiple python versions installed. One way to do this is to use `pyenv`:
```bash