-
Notifications
You must be signed in to change notification settings - Fork 230
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
Remove transitional stuff from setup.py? #101
Comments
Coincidentally, I hit a package that does options 2 - try 'pip install py.test'. It just does:
|
Has this ever been resolved? We are running into the same issues. |
I'm still hoping for a fix too.. |
copying build/lib.linux-x86_64-2.7/pysimplesoap/helpers.py -> build/bdist.linux-x86_64/wheel/pysimplesoap I have been facing the same issue. I have deleted both pysimplesoap and soap2py and ran the execution. It is still prompting me with the same error. |
Hi
Calling
setup()
insetup.py
twice is weird and confuses pip.One example is if you try to use wheels. We use wheels to speed up our Travis CI - our
requirements.txt
is fetched and compiled once, and future builds are about 10 minutes quicker (lots of dependencies!). Unfortunately, becausesetup()
is called twice this no longer works:I recreated this locally, and fixed it by only calling
setup()
once.Another weird thing is that if you
pip install pysimplesoap
in an empty virtualenv and dopip freeze
you get:That's because
setup.py
is executed by pip during the install. So pip downloadspysimplesoap
butsetup.py install
will installpysimplesoap
andsoap2py
from that.tar.gz
. Of course, depending on which one you install, the other won't have the correctinstalled_files.txt
in its egg-info, sopip uninstall
gets weird:And if you uninstall one of these it will leave the
egg-info
directory for the other.And if someone else then installs your requirements.txt that you made with
pip freeze
then pip will installpysimplesoap
which will install both, thensoap2py
which will install both. Fun times!There are a couple of alternatives you could try:
README.rst
that gets shown on pypi to explain further.The text was updated successfully, but these errors were encountered: