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

Conflict with pip library "jsonrpc" breaks requirements replication #29

Open
omigeon opened this issue Aug 29, 2011 · 0 comments
Open

Comments

@omigeon
Copy link

omigeon commented Aug 29, 2011

(I open a new issue since I don't know if the pip library is the same as "python-json-rpc").

Virtualenv A :

pip install jsonrpc
# this will overwrite the previous one in site-packages/jsonrpc, 
# but won't delete the egg.info directory
pip install django-json-rpc 
# For exampe, "from jsonrpc import jsonrpc_method" works
pip freeze > requirements.txt
# Since pip freeze lists packages in alphabetical order, we have django-json-rpc before jsonrpc
# Let's copy requirements.txt ojn machine B to replicate our virtualenv

Virtualenv B :

pip install -r requirements.txt
# install will follow the alphabetical order and jsonrpc will overwrite django-json-rpc
# "from jsonrpc import jsonrpc_method" won't work.

So we apply the same requirements.txt file to two virtualenvs end we end up with two differents librairies...
Your package should really install itself in site-packages/django_jsonrpc or something.

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

No branches or pull requests

1 participant