Python: How to install a third-party package and make it available to rest of team

My team uses git to track the code and we want to do the following: (1) One team-member installs a third-party python package and (2) makes it available on our git repo, so that the rest of the team can simply install the package by pulling the latest version of our code.

Is that possible at all? If so, what are feasible solutions? If not, what approach works best in your experience?

  • how to interact with two beaglebone black connected to one computer
  • The server rejected the connection: None of the protocols were accepted
  • Undo local changes interactive
  • git: timezone and timestamp format
  • git cherry-pick not working
  • AngularJS & PHP: upload my app on several servers after changes
  • Background: We are using python 2.7.*. The third-party package is testfixtures to unittest the logging of our software. We use Windows and Mac.

  • Jenkins Poll SCM (Git) on Windows master / Build on Linux slave
  • Team Foundation Server 2013 Express - Can't connect to git repo via command line
  • “git add” command is returning “fatal: outside repository” error message
  • Why does Git automatically ignore most Node files?
  • git re-committing reverted commits
  • Rename file with Git
  • One Solution collect form web for “Python: How to install a third-party package and make it available to rest of team”

    Create a requirements.txt file and place it in your directory. Each line in the file should contain the name of a package that your entire team should have installed. Your team members, once they have the new version of the file, can run pip install -r requirements.txt. Then, update the requirements.txt file every time you have a new package required, and rerun the command.

    Some editors (like PyCharm) will even automatically detect a requirements file and prompt you to install the packages.

    Git Baby is a git and github fan, let's start git clone.