Skip to content

Commit f48b507

Browse files
Remove dev-requirements.txt
Duplicates information from the setup.cfg and tox.ini. Tox was added to the documentation as an intersphinx target to facilitate link maintenance.
1 parent e8ec140 commit f48b507

File tree

4 files changed

+9
-21
lines changed

4 files changed

+9
-21
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ UNRELEASED
66
- Removed support for end of life Python 3.5.
77
- Added support for Django 3.1.
88
- Added support for Python 3.9.
9+
- Removed ``dev-requirements.txt`` in favor of :doc:`tox <tox:index>`.
910

1011
2.2.0 - 2020-06-02
1112
------------------

dev-requirements.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,4 +174,5 @@
174174
"https://docs.djangoproject.com/en/stable/_objects/",
175175
),
176176
"pythonldap": ("https://python-ldap.readthedocs.io/en/latest/", None),
177+
"tox": ("https://tox.readthedocs.io/en/latest/", None),
177178
}

docs/contributing.rst

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,8 @@ anchor point.
1818
Development
1919
-----------
2020

21-
To get set up for development, activate your virtualenv and use pip to install
22-
from ``dev-requirements.txt``:
23-
24-
.. code-block:: sh
25-
26-
$ pip install -r dev-requirements.txt
27-
28-
To run the tests:
29-
30-
.. code-block:: sh
31-
32-
$ django-admin test --settings tests.settings
33-
34-
To run the full test suite in a range of environments, run `tox`_ from the root
35-
of the project:
21+
To run the full test suite in a range of environments, run :doc:`tox <tox:index>`
22+
from the root of the project:
3623

3724
.. code-block:: sh
3825
@@ -41,4 +28,8 @@ of the project:
4128
This includes some static analysis to detect potential runtime errors and style
4229
issues.
4330

44-
.. _`tox`: https://tox.readthedocs.io/
31+
To limit to a single environment, use :option:`tox.-e`:
32+
33+
.. code-block:: console
34+
35+
$ tox -e djangomaster

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy