-
Notifications
You must be signed in to change notification settings - Fork 21
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
[Question] zip_safe setting if Wheels #19
Comments
Admittedly, pyroma does poor job at explaining why you should set |
Well, the reason is that it default to being zip safe, but if it isn't that means the installation doesn't work. |
Actually, I had a vague feeling that maybe the zip_safe default had changed, and it did, so this test isn't relevant any more. I'll remove it. |
1. Briefly
I'm not sure, is the parameter
zip_safe
needs, if developer build package use Wheels.2. Steps to reproduce
I create my Python package → I build my package, use Wheels:
I publish my package to PyPI use Twine:
I install my package use pip:
3. Essence of the question
If I build my package, use
python setup.py sdist
,zip_safe
parameter have a meaning:If
zip_safe = True
:package add to my
site-packages
directory, packed to.egg
format;else:
package add to
site-packages
directory unpacked.But if I build my package, use
python setup.py sdist
, I get same behavior forzip_safe
true
andfalse
or if I don't havezip_safe
parameter. Package add tosite-packages
directory unpacked.4. pyroma
If I have line
zip_safe = True
orzip_safe = False
:else:
But I think, that
zip_safe
parameter is excessive in this case.Thanks.
The text was updated successfully, but these errors were encountered: