3 ms·
> If you are on Linux, OS X or Cygwin, install flask and extensions by entering the following commands, one after another I think this is a really bad advice.
by randomchars 14y ago
> If you are on Linux, OS X or Cygwin, install flask and extensions by entering the following commands, one after another
I think this is a really bad advice. Instead create a file called requirements.txt and add the required livraries, one per line.
Then you can install it with
flask/bin/pip install - r requirements.txt
Edit: More information in the documentation[0]
[0]: http://www.pip-installer.org/en/latest/requirements.html http://www.pip-installer.org/en/latest/requirements.html
- nfg 14y agoYou can always regularise things after with: pip freeze > requirements.txt
- blaze33 14y agoOr with: pip freeze -r requirements.txt So you can keep your file structure with comments, nicely separating your dependencies from the dependencies of your dependencies. This way you'll have a much nicer time the day you need to remove one of them :) And beware of git urls being replaced by egg names in the process.
- deleted 14y ago[deleted]