summaryrefslogtreecommitdiffstats
path: root/doc/development.rst
blob: 18090af57173476bc1c455bec7825db326ed1455 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Developing Flit
===============

To get a development installation of Flit itself::

    git clone https://github.com/pypa/flit.git
    cd flit
    python3 -m pip install docutils requests
    python3 bootstrap_dev.py

This links Flit into the current Python environment, so you can make changes
and try them without having to reinstall each time.

Testing
-------

To run the tests in separate environments for each available Python version::

    tox

`tox <https://tox.readthedocs.io/en/latest/>`_ has many options.

To run the tests in your current environment, run::

    pytest