hangarunderground/hendrix — pull request #11 by JamesTFarrington (2014-02-22 00:20:13+00:00)
Title: So this ended up being a larger commit than we expected.

I was developing in a working directory and then pulling in the virtualenv. This caused me to make a lot of small commits which can probably be ignored. The commit "hendrix-deploy.py parses arguments with argparse" has everything working. hendrix-deploy and hendrix-devserver both work from the command line. After that I started working on tests, and Justin suggested grouping several of the functions in hendrix-deploy together in one class. I ran into a number of issues with importing modules, which required me to make further changes.

Apparently there's an obscure incompatibility issue, which makes relative imports difficult when using a module as a script. Documented here = (http://legacy.python.org/dev/peps/pep-0366/) I also changed the names of hendrix-devserver to hendrix_devserver and hendrix-deploy to hendrix_deploy so they can be imported for testing. We moved the tests directory inside of the project rather than adding another __init__.py at the top level.

I'd be happy to answer any questions. You can get ahold of me at JamesTFarrington at gmail.com.