How Can I Synchronize Project Dependencies Between Developers?
My team is starting a new Python project. We will be using Git with a central repository. Each developer will work on a local virtualenv, and push/pull from the central repo to the
Solution 1:
I would use virtualenv and create a requirements file
pip freeze > requirements.txt
that you add to your git repo, every time a new package is needed, it should be added to the requirements file. When a developer pulls they can run
pip install -r requirements.txt
I think this is the most logical approach and is one my team has used multiple times.
Post a Comment for "How Can I Synchronize Project Dependencies Between Developers?"