Tag: pip


Automatically Generating requirements.txt for Python Projects

Posted in Python

permalink

Summary

A quick post to demonstrate a way to automatically generate a requirements.txt file for your Python project.

By the end of this post, you'll be able to do this to refresh and update the versions of all the software your project depends on:

make requirements.txt

All of this code comes from the Human Cell Atlas data-store project!

Creating a requirements.txt.in file

Start by creating a requirements.txt.in, which should look like a normal requirements.txt file, listing software packages for pip to install (and optionally version information - but version information does not need to …



Tags:    python    pip    version control    make    makefile