dbr/tvdb_api

Add empty __init__.py so we can use as submodule easily.

JakeWharton opened this issue · 2 comments

touch __init__.py
git commit -a -m "Added __init__.py. Closes issue 6."
git push
dbr commented

Err, reopening because I quickly added the __init__.py file and didn't test it..

It causes other problems with tvdb_api's current crappy structure, I'm going to fix a few things, deploy it as v1.0 and start on a restructure. So, for now I have to remove the __init__.py file, should be fixed shortly..

dbr commented

Closing, old ticket and not likely to add a top-level __init__.py file to support this, as it is an interesting idea but kind of.. unconventional.

Currently, tvdb_api.py for now is a single self-contained .py file in the top of the repo, so should still be fairly easy to use in a submodule manner (sys.path.append("./tvdb_checkout"); import tvdb_api instead of just sys.path.append("."); ...)