Difference between revisions of "User:Poppy Linden/PyOGP \ libdev Initial Setup Experience"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with 'sequential, oldest first. * omg tons of docs * omg repeats internally / externally... lemme fix that... * code? * ok, what deps are required? wait.. how does python pathing work...')
 
Line 1: Line 1:
sequential, oldest first.
sequential, oldest first.


== bootstrapping ==
* omg tons of docs
* omg tons of docs
* omg repeats internally / externally... lemme fix that...
* omg repeats internally / externally... lemme fix that...
Line 25: Line 26:
** bin/buildout -v
** bin/buildout -v
** oh, so virtualenv is preventing the very borknorking i am trying to prevent to my system. Fair game.
** oh, so virtualenv is preventing the very borknorking i am trying to prevent to my system. Fair game.
== bootstrap / sanity verification ==
* bin/client_unittest
** FAILBOAT
** pip -E . greenlet
** bin/client_unittest
** bin/client_unittest
** FAILBOAT
* pip -E . greenlet
* bin/client_unittest
** now a bunch of crazy shit instead of tracebacks, that's... good?
** now a bunch of crazy shit instead of tracebacks, that's... good?
** 114 tests and 0 failures! that's good!
** 114 tests and 0 failures! that's good!
== initial investigations ==
* vi src/pyogp.lib.base/pyogp/lib/base/tests/base.py
** everything starts with login, even with base. What about the delicious primitives i crave?

Revision as of 17:02, 2 July 2009

sequential, oldest first.

bootstrapping

  • omg tons of docs
  • omg repeats internally / externally... lemme fix that...
  • code?
  • ok, what deps are required? wait.. how does python pathing work? oh, i can just put it in my python_path, cool
  • wait, this says i need to install a friggin million things.
  • I Hate Everything Python Right Now.
  • I bootstrapped a wicked python env in my homedir.
mkdir -p ~/local/lib/python2.4/site-packages
vi ~/.bashrc 
>> export PYTHONPATH=$PYTHONPATH:~/local/lib/python2.4/site-packages
>> export PATH=$PATH:/usr/local/bin:~/bin:~/local/bin
. ~/.bashrc 

curl -L 'http://pypi.python.org/packages/2.4/s/setuptools/setuptools-0.6c9-py2.4.egg#md5=260a2be2e5388d66bdaee06abec6342a' > setuptools-0.6c9-py2.4.egg
sh setuptools-0.6c9-py2.4.egg --prefix=~/local
easy_install --prefix=~/local pip
easy_install --prefix=~/local virtualenv
  • ok, now what again? Oh yeah, virtualenv for pyogp... the point of this...
    • virtualenv . --no-site-packages
    • bin/python bootstrap.py
    • bin/buildout -v
    • oh, so virtualenv is preventing the very borknorking i am trying to prevent to my system. Fair game.

bootstrap / sanity verification

  • bin/client_unittest
    • FAILBOAT
    • pip -E . greenlet
    • bin/client_unittest
    • now a bunch of crazy shit instead of tracebacks, that's... good?
    • 114 tests and 0 failures! that's good!

initial investigations

  • vi src/pyogp.lib.base/pyogp/lib/base/tests/base.py
    • everything starts with login, even with base. What about the delicious primitives i crave?