Git Product home page Git Product logo

pip-update-all's Introduction

pip-update-all

A Windows Batch script for updating all installed python packages via pip. The idea for this came from playing with WinPython as a portable deploy in an enterprise environment. WinPython didn't have a good method for updating packages, and it came installed with so many, that doing this by hand would've been painful.

Now, I can use my script to run this auto-updater as a scheduled task, and always be ensured to be running the most up to date packages.

This script was tested against a locally installed Python install 3.4.1, portably and locally installed WinPython 3.3.5, a portably and network installed WinPython 3.4.3, and a portably and locally installed WinPython 2.7.9 for completness.

pip_update_all.conf

  • python

The path that contains a python install; usually C:\PythonXX (the X's indicate the version)
Never use quotes; No trailing slash; C:\Python34 (default)

  • try_external_and_unverified

This variable indicates whether or not pip should use --allow-external [package] --allow-unverified [package]
These flags might be required for some packages; and because of how often they need to go together, they've been combined into one variable
0 for false (default), -1 for true

  • use_gohlke

This flag indicates whether or not to search Christopher Gohlke's "Unofficial Windows Binaries for Python Extension Packages"
This may be necessary for some packages that need to be compiled. It will only work if the package is available there, and the package will only be downloaded and installed if a usual pip download/install fails
http://www.lfd.uci.edu/~gohlke/pythonlibs/
0 for false (default), -1 for true

pip-update-all's People

Contributors

wpg4665 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.