User:Gordon/Optical Drive Testing Script/scratchpad

From FreekiWiki
Jump to navigation Jump to search

Dependencies

Ubuntu

  • python-setuptools (?)
  • python-virtualenv
  • python-pip
  • mercurial (won't be needed for a dpkg dependency, most likely)

Python

(Hopefully) see pip-requirements.txt once the project is closer to completion, and automatically install all these with pip.

Development installation

  1. Install all Ubuntu dependencies
  2. cd to the dir where you want the virtualenv containing the code to live.
  3. virtualenv --no-site-packages lazers
  4. cd lazers
  5. . bin/activate
  6. pip install -E . yolk (optional, but useful)
  7. pip install -E . cmdln
  8. pip install -E . nose
  9. mkdir src
  10. cd src
  11. hg clone http://bitbucket.org/gmfreegeek/lazers/