Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the NetIP Python library installable with PIP #43

Open
farhaven opened this issue Oct 7, 2015 · 5 comments
Open

Make the NetIP Python library installable with PIP #43

farhaven opened this issue Oct 7, 2015 · 5 comments

Comments

@farhaven
Copy link
Contributor

farhaven commented Oct 7, 2015

Currently, the Python NetIP library is just a module in a path "somewhere". Usually that path is ~/Engine/libraries/netip/python, but I think that is a bit brittle. This also makes it hard to reliably tell Python where it can find the library. The $PYTHONPATH hack we're using right now works for interactive shells but fails for example for things like Ansible-deployments.

Are there any reasons we shouldn't install the library with Pip?

@farhaven farhaven self-assigned this Oct 7, 2015
@farhaven
Copy link
Contributor Author

farhaven commented Oct 7, 2015

Edit: fp7-netide/IDE#7 could be solved really easily if we do this.

@doriguzzi
Copy link

Ok, good point. However, the current netip library should not be placed "somewhere" as you said, but it should be installed along with the Ryu framework as described in the ryu-backend and ryu-shim READMEs. That installation procedure avoids any problem with Ryu.

@schwabe
Copy link
Contributor

schwabe commented Oct 31, 2015

Hm can't the netip python library be installed as separate library? There seem no reason for it to be installed in the ryu path.

@paaguti
Copy link
Contributor

paaguti commented Oct 31, 2015

Good point. However, is it a real showstopper?

Brpa
El 07/10/2015 23:01, "Gregor Best" [email protected] escribió:

Currently, the Python NetIP library is just a module in a path
"somewhere". Usually that path is ~/Engine/libraries/netip/python, but I
think that is a bit brittle. This also makes it hard to reliably tell
Python where it can find the library. The $PYTHONPATH hack we're using
right now works for interactive shells but fails for example for things
like Ansible-deployments.

Are there any reasons we shouldn't install the library with Pip?


Reply to this email directly or view it on GitHub
#43.

@doriguzzi
Copy link

Again, when I am done with more urgent things, I will create this pip library. In the meantime, I don't think this is a real issue.
However, nothing prevent other people to create the library or explain me how to do that....

--rob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants