barosl / homu

A bot that integrates with GitHub and your favorite continuous integration service
http://homu.io/
MIT License
661 stars 108 forks source link

Now can run from checkout #142

Closed ashcrow closed 8 years ago

ashcrow commented 8 years ago

Switched from relative imports to standard imports. This allows running from install as well as from the repository checkout:

$ python homu/main.py --help
usage: main.py [-h] [-v]

A bot that integrates with GitHub and your favorite continuous integration
service

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  Enable more verbose logging
$
untitaker commented 8 years ago

Why? pip install -e . is standard practice...

ashcrow commented 8 years ago

I guess it's more of a personal reason. I may be an outlier but when I do development I like to run changes from source checkout in a branch without installing the result. I feel it's easier than remembering to always install after every edit to test a change before a commit.

sigmavirus24 commented 8 years ago

@ashcrow @untitaker is correct. That said, you also never have to reinstall (unless you add a new sub-package) homu the way @untitaker is describing. Please consider using that instead.

ashcrow commented 8 years ago

Fair enough.