Comment

Comment by pseudalopex

It sounds like pip-tools[1] is what you want Pipenv to be.

1. Put your dependencies in requirements.in.

2. Run pip-compile to generate requirements.txt.

3. Commit both files.

4. Use requirements.txt in production.

You can also use setup.py or setup.cfg instead of requirements.in. This lets you build packages and specify dependencies like "Python 3.5+". requirements.in is simpler, though.

[1] https://pypi.org/project/pip-tools/

parent pseudalopex 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton