Giter Site home page Giter Site logo

pip_updater's Introduction

##Simple package to update pip packages.

####You can update all packages:

pip_updater -a

(not sure if you'd need to be logged into your shell with sudo for this, as I only install pip packages locally.)

####Or update packages installed locally for your user:

pip_updater -l

###To install pip_updater just clone the repo, then run:

# to install system-wide:
python setup.py install

# to install just for your user (eg. if you don't have write privileges on a shared filesystem):
python setup.py install --user

If the later route is taken, then it just installs the package locally for your user, rather than installing system-wide; so in order to be able to use it, you need to tell your path where to look for it, like so: (the following info can likely be narrowed down by executing: python -c "import site; print site.getuserbase()" )

For *nix's:

Add this to your .bashrc/.zshrc:

export PATH=$HOME/.local/bin:$PATH

For Mac:

Either add the same thing as used by *nix's above, or if that doesn't work, then add something like this in your .bashrc/.zshrc:

export PATH=$HOME/Library/Python/[2.X or 3.X]/bin:$PATH

For Windows:

Not sure, though you'd have to add the analogous thing to whatever is the equivalent of a shell config file (eg. would have to add to your path the area where executable stuff gets installed at the "user" level with python).

suggested as per PEP370 -- particularly see the "user script directory" section:

%APPDATA%/Python/Scripts

...hope this helps.

pip_updater's People

Stargazers

 avatar

Watchers

 avatar  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.