| 1 |
Developing Flit |
| 2 |
=============== |
| 3 |
|
| 4 |
To get a development installation of Flit itself:: |
| 5 |
|
| 6 |
git clone https://github.com/pypa/flit.git |
| 7 |
cd flit |
| 8 |
python3 -m pip install docutils requests |
| 9 |
python3 bootstrap_dev.py |
| 10 |
|
| 11 |
This links Flit into the current Python environment, so you can make changes |
| 12 |
and try them without having to reinstall each time. |
| 13 |
|
| 14 |
Testing |
| 15 |
------- |
| 16 |
|
| 17 |
To run the tests in separate environments for each available Python version:: |
| 18 |
|
| 19 |
tox |
| 20 |
|
| 21 |
`tox <https://tox.readthedocs.io/en/latest/>`_ has many options. |
| 22 |
|
| 23 |
To run the tests in your current environment, run:: |
| 24 |
|
| 25 |
pytest |