forked from psf/python-in-edu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Break requirements.txt into environment specific modules
Our previous approach to dependencies was creating a high barrier to entry for new contributors (and new Pythonistas/Djangonauts) since it required them to have a production environment installed locally just to install the requirements files. This change moves production-specific dependencies to a separate module, simplifies local setup, and opens the possiblity of having development specific dependencies in the future. closes psf#37
- Loading branch information
Showing
5 changed files
with
21 additions
and
22 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
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,4 @@ | ||
asgiref==3.3.1 | ||
confusable-homoglyphs==3.2.0 | ||
dj-database-url==0.5.0 | ||
Django==3.1.6 | ||
django-djconfig==0.10.0 | ||
django-haystack==3.0 | ||
django-heroku==0.3.1 | ||
django-infinite-scroll-pagination==1.1.0 | ||
django-multiselectfield==0.1.12 | ||
django-registration==3.1.1 | ||
django-spirit==0.12.2 | ||
gunicorn==20.0.4 | ||
mistune==0.8.4 | ||
olefile==0.46 | ||
Pillow==8.0.1 | ||
psycopg2==2.8.6 | ||
python-dotenv==0.15.0 | ||
pytz==2021.1 | ||
sqlparse==0.4.1 | ||
whitenoise==5.2.0 | ||
Whoosh==2.7.4 | ||
# This file is required by Heroku and should not be installed locally | ||
# | ||
# See our README for getting started locally. | ||
-r requirements/prod.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,10 @@ | ||
Django==3.1.6 | ||
django-djconfig==0.10.0 | ||
django-haystack==3.0 | ||
django-multiselectfield==0.1.12 | ||
django-registration==3.1.1 | ||
django-spirit==0.12.2 | ||
dj-database-url==0.5.0 | ||
gunicorn==20.0.4 | ||
python-dotenv==0.15.0 | ||
whitenoise==5.2.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-r base.txt | ||
|
||
# Add dependencies specific to development below |
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 @@ | ||
-r base.txt | ||
|
||
psycopg2==2.8.6 |