[Tutor] About (dev-)requirements.txt

Albert-Jan Roskam sjeik_appie at hotmail.com
Thu Mar 11 09:37:33 EST 2021


   Hi,
   How do I generate separate (i.e., disjoint) lists of requirements for the
   app itself and the dev-requirements? I know I can use pip freeze, but how
   do I separate dev and non-dev? Let's say I use nose, pdoc3 and tox for
   dev-requirements.txt. How do I separate those packages AND their
   dependencies from the non-dev requirements.txt?
   And what do I do with libraries like setuptools, wheel and pip? Should
   they be in both lists? Or should they be installed first, before anything
   else? I recently experienced many problems related to old pip/wheel
   versions after I tried to recreate a virtualenv with existing
   requirement.txt's but a higher Python version so I hope next time this
   process will be less "trial and error".
   Thanks!
   Albert-Jan


More information about the Tutor mailing list