baccuslab / pyret

Python tools for analysis of neurophysiology data
https://pyret.readthedocs.io/en/master/
MIT License
35 stars 8 forks source link

Add __init__.py to dev branch's new folder structure #59

Closed bnaecker closed 8 years ago

bnaecker commented 8 years ago

@nirum changed the folder structure of the dev branch, putting all the source code in pyret/pyret. This is fine, but it means that we have to have the top-level folder itself on our PYTHONPATH, rather than the folder in which the repo lives. E.g., I have to include /usr/local/lib/python3.4/site-packages/pyret on my PYTHONPATH, rather than just /usr/local/lib/python3.4/site-pacakges.

We should include an __init__.py file inside the top-level directory, which can just do from pyret import *. Thoughts?

nirum commented 8 years ago

I think everyone should be installing with: python setup.py install or even better python setup.py develop

rather than manually editing their path :frowning:

bnaecker commented 8 years ago

Ah I didn't see the updated setup.py.