Building .zip sdist files on posix systems #2982
-
All, I have multiple python packages for talking to our internal systems. These are system independant - however, I'm on a mac and want to build .zip based sdists so my colleagues on windows can easily pick up development. How do I tell my setup.cfg to only (or at least also) build .zip sdists? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @matthewsht, have you tried to add the following section to your setup.cfg? [sdist]
formats = zip However, this will not work with modern ways of creating distributions. There is a spec (PEP 517) that requires sdists to be tar.gz files... |
Beta Was this translation helpful? Give feedback.
-
From abravalheri above, the answer to my question is "you can't" and probably (to be PEP 517 compatible) "you don't want to". |
Beta Was this translation helpful? Give feedback.
From abravalheri above, the answer to my question is "you can't" and probably (to be PEP 517 compatible) "you don't want to".