Test Repo for September 2012 Utah Python User Group Meeting
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
789B

  1. omb script
  2. omb2 script
  3. make a module
  4. fine in directory, PYTHONPATH, custom bash ...
  5. need to actually install it
  6. aside:
  7. - hitchhiker's guide to packaging
  8. - state of packaging
  9. python setup.py install
  10. innards of the setup.py
  11. python setup.py register
  12. python setup.py sdist upload
  13. pip freeze
  14. pip install
  15. pip remove
  16. example from-scratch python:
  17. hg up 2.7
  18. ./configure --prefix=/Users/smcquay/py27
  19. make -j3
  20. make install
  21. export PATH=~/py27/bin:$PATH
  22. # won't work:
  23. curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | ~/py27/bin/python
  24. # install distribute (for pip):
  25. curl -O http://python-distribute.org/distribute_setup.py
  26. ~/py27/bin/python distribute_setup.py
  27. # install pip
  28. curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | ~/py27/bin/python