summaryrefslogtreecommitdiffstats
path: root/doc/development.rst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:26:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:26:28 +0000
commitbbbeb2d07d4f7fd0191032c219b40565fd83454f (patch)
tree3c08f1e09ed89a004867762ab40f3b610f6c0fa1 /doc/development.rst
parentInitial commit. (diff)
downloadflit-upstream.tar.xz
flit-upstream.zip
Adding upstream version 3.8.0.upstream/3.8.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/development.rst')
-rw-r--r--doc/development.rst26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/development.rst b/doc/development.rst
new file mode 100644
index 0000000..18090af
--- /dev/null
+++ b/doc/development.rst
@@ -0,0 +1,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
+