Pregunta

On Windows, I have uploaded a package using the following command:

python setup.py sdist bdist_wininst upload

However, due to my using Python on Windows, it uploads a zip file instead of a gzip file. How can I make it send a gzip along with it?

¿Fue útil?

Solución

You can specify the formats of the compressed source files:

python setup.py sdist --formats=gztar,zip

Otros consejos

python setup.py sdist --formats=zip,gztar bdist_winist upload

Refer to the documentation.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top