-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Single source of truth for requirements
- Loading branch information
1 parent
dbd2352
commit 9f4f9c9
Showing
7 changed files
with
42 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,13 @@ | ||
# Minimum Django version | ||
Django>=1.4.11 | ||
|
||
# Test requirements | ||
pytest-django==2.8.0 | ||
pytest==2.6.4 | ||
pytest-cov==1.6 | ||
flake8==2.2.2 | ||
|
||
# Optional packages | ||
markdown>=2.1.0 | ||
django-guardian==1.2.4 | ||
django-filter>=0.9.2 | ||
|
||
# wheel for PyPI installs | ||
wheel==0.24.0 | ||
# twine for secured PyPI uploads | ||
twine==1.4.0 | ||
|
||
# MkDocs for documentation previews/deploys | ||
mkdocs==0.11.1 | ||
# The base set of requirements for REST framework is actually | ||
# just Django, but for the purposes of development and testing | ||
# there are a number of packages that it is useful to install. | ||
|
||
# Laying these out as seperate requirements files, allows us to | ||
# only included the relevent sets when running tox, and ensures | ||
# we are only ever declaring out dependancies in one place. | ||
|
||
-r requirements/requirements-optionals.txt | ||
-r requirements/requirements-testing.txt | ||
-r requirements/requirements-documentation.txt | ||
-r requirements/requirements-codestyle.txt | ||
-r requirements/requirements-packaging.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# PEP8 code linting, which we run on all commits. | ||
flake8==2.3.0 | ||
pep8==1.6.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# MkDocs to build our documentation. | ||
mkdocs==0.11.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Optional packages which may be used with REST framework. | ||
markdown==2.5.2 | ||
django-guardian==1.2.5 | ||
django-filter==0.9.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Wheel for PyPI installs. | ||
wheel==0.24.0 | ||
|
||
# Twine for secured PyPI uploads. | ||
twine==1.4.0 | ||
|
||
# Transifex client for managing translation resources. | ||
transifex-client==0.10 | ||
|
||
# The pip-review and pip-dump tools for package upgrades. | ||
pip-tools==0.3.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# PyTest for running the tests. | ||
pytest==2.6.4 | ||
pytest-django==2.8.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters