mozilla / Bugzilla-ETL

ETL for feeding bug snapshots to an ElasticSearch cluster
Mozilla Public License 2.0
5 stars 9 forks source link

Fixed relative imports. Added requirements and entry point for console app to setup.py. #1

Closed markrcote closed 10 years ago

markrcote commented 10 years ago

This fixes all the imports so you can run "python setup.py develop" (or "python setup.py install") and then run tests/test_etl.py. I also folded requirements.txt into setup.py and added the entry point "bzetl" which runs bz_etl.py:cli() (which is the former contents of the if name == "main": clause). So you can run "bzetl" on the command line after installing to run the console app.