scottsilverlabs / raspberrystem

raspberrySTEM(TM) Educational and Hobbyist Development Kit based on the Raspberry Pi
www.raspberrystem.com
Apache License 2.0
3 stars 0 forks source link

Tested PIP installation procedures #76

Closed brian-silverman closed 9 years ago

brian-silverman commented 10 years ago

I'd like to have a tested set of procedures that works for our install from the ground up, that minimized any superfluous instructions. Something like:

jpsnyder commented 10 years ago

Progress on this is in the branch dev/jpsnyder/install_instructions.. Right now you can install the raspberrystem python package by simply doing: sudo apt-get upgrade sudo apt-get install python-pip libi2c-dev sudo easy_install raspberrystem

Package is on PyPi: https://pypi.python.org/pypi/raspberrystem/0.0.1

Still need to figure out getting raspberrystemide on a ppa package.

brian-silverman commented 10 years ago

Do you know it will install from pip as well? Any reason to use easy_install instead of pip?

Is pushing a release up to PyPI part of our makefile?

On Fri, Oct 3, 2014 at 11:44 AM, Jonathan Snyder notifications@github.com wrote:

Progress on this is in the branch dev/jpsnyder/install_instructions.. Right now you can install the raspberrystem python package by simply doing: sudo apt-get upgrade sudo apt-get install python-pip libi2c-dev sudo easy_install raspberrystem

Package is on PyPi: https://pypi.python.org/pypi/raspberrystem/0.0.1

Still need to figure out getting raspberrystemide on a ppa package.

— Reply to this email directly or view it on GitHub https://github.com/scottsilverlabs/raspberrystem/issues/76#issuecomment-57813859 .

Brian Silverman

www.raspberrystem.com

bri@raspberrystem.com

jpsnyder commented 10 years ago

Right now I'm getting an error when done with pip instead of easy_install. I believe this is because it uses the source zip file instead of the already generated egg. Please try it and see if you get the same error.

To push it up you run "make upload-cheeseshop" or "make pi-upload-cheeseshop" if directly on the Pi. Although the first time you need to run "make register" to sign in / create an account. I have the package already on PyPi, so you just need to let me know your username you make so I can add you as an owner. ( https://pypi.python.org/pypi/raspberrystem/0.0.1 )

brian-silverman commented 10 years ago

Jon - do you know if this is resolved? (that is, does pip work?)

On Thu, Oct 9, 2014 at 12:18 PM, Jonathan Snyder notifications@github.com wrote:

Right now I'm getting an error when done with pip instead of easy_install. I believe this is because it uses the source zip file instead of the already generated egg. Please try it and see if you get the same error.

To push it up you run "make upload-cheeseshop" or "make pi-upload-cheeseshop" if directly on the Pi. Although the first time you need to run "make register" to sign in / create an account. I have the package already on PyPi, so you just need to let me know your username you make so I can add you as an owner. ( https://pypi.python.org/pypi/raspberrystem/0.0.1 )

— Reply to this email directly or view it on GitHub https://github.com/scottsilverlabs/raspberrystem/issues/76#issuecomment-58534857 .

Brian Silverman

www.raspberrystem.com

bri@raspberrystem.com

jpsnyder commented 10 years ago

Yes, pip now works since a recent commit I made in dev/jpsnyder/install_instructions.

easy_install also works but it doesn't run the post install script. I believe this is because it doesn't utilize setup.py on the user's raspberry pi like pip does.

brian-silverman commented 9 years ago

This is working and tested in latest master.