Comments (2)
I included peepin because I believe it's a useful tool for development. Most -if not all- sugardough based projects will include more packages in requirements.txt
so they will need peepin at some point. That being said we should include documentation on how to use peepin to update requirements. I agree that using peepin is a personal choice but I see sugardough as promoting best practices and peep with peepin is one of them. If one doesn't like it they can remove the line and don't use it (same with peep).
So why include it in requirements.txt
and not have a separate requirements-dev.txt
? In masterfirefoxos project (based on sugardough) we build a Docker development workflow in which we decided to build a docker image and then run tests against that image and if they pass we deploy that very same image. This way we eliminate the difference between the development environment and production. Long story short: In masterfirefoxos we will install both dev only packages and prod packages so we are OK with one requirements file.
If that's not useful generally and people prefer to have two requirements (requirements.txt
and requirements-dev.txt
) we can go this way. We would move other packages too to the new file, e.g. flake8
from sugardough.
Thanks for that update. I really appreciate it.
I'm still a noob on all things Docker so I bet I don't understand the needs there as well as others do.
Perhaps one way to satisfy this discussion is to consider using -r
to include other requirements files.
For example, for runtime you might only need requirements.txt
and for travis and Docker you need to install mock, coverage, nose, peep, peepin etc. so you list those in requirements-all.txt
which looks something like this:
-r requirements.txt # the base system
# sha256: owdsfhsodifjsdpof
mock==1.2.3
# sha256: w0oirjvw0oivjh
peep==2.3.4
from sugardough.
Related Issues (20)
- Make requires.io, coveralls, etc. options at install time HOT 6
- Is our flake8 exclusion to migrations too lax?
- Questionable default pep8 exceptions HOT 5
- Severe lack of a license HOT 1
- Add setup.py and submit to PyPI HOT 2
- CACHES default setting
- Headers are clever but aren't clear HOT 1
- Add contribute.json to generated project HOT 1
- Include django-pipeline? HOT 7
- integrate tower? HOT 4
- .jinja as file extension for Jinja templates? HOT 2
- What's the point of the settings directory? HOT 1
- Syntax error in @font-face declaration HOT 1
- Coverage 4.0.1
- Update instructions to run on py27 in the README file HOT 1
- Add Cookiecutter to https://wiki.mozilla.org/MOSS/Projects_in_use_by_Mozilla HOT 1
- Switch to Django LTS HOT 2
- bin/test_sugardough_docker.sh leaves running containers HOT 2
- Recommended handling of favicon HOT 1
- Wrong chown syntax in the dockerfile HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sugardough.