ODYM icon indicating copy to clipboard operation
ODYM copied to clipboard

setup.py and installable package

Open haasad opened this issue 6 years ago • 2 comments

Hey @stefanpauliuk and @nheeren,

i checked out the repo after seeing the poster at GRC. It wasn't clear to me how to install the package and then I saw your discussion in #4. In this PR there is a setup.py file to make odym an installable package. You can test it in a new condaenv/virtualenv by installing it from my fork:

pip install git+https://github.com/haasad/ODYM

Like this you have an easy way to directly install it from github, even before you put it on pypi/anaconda.

You'll probably want a different package namespace than what I added in odym/__init__.py, that's just a suggestion based on the syntax you use in the tutorial notebook. You could then also get rid of the "path hacking" in the notebooks if odym is installed.

I also removed some of the compiled .pyc files and added them to gitignore, I think there's no reason to have these on github.

Let me know if this is useful for you. I can also give some inputs if you want to make it available via conda.

haasad avatar May 25 '18 21:05 haasad