The Unfun Cat
The Unfun Cat

Reputation: 31918

Creating tar.gz in dist folder with python setup.py install

I have a project for which I want to create a tar.gz with python setup.py install.

Problem is, I only get egg files in my dist/ folder when running python setup.py install. I need the project.tar.gz file so that I can easily make it installable from conda.

How do I make python setup.py install create a tar.gz (I do not need any egg files, really).

What I ultimately want is a tar.gz archive showing on pypi with a download link and md5, which I used to get before the PYPI update.

Upvotes: 10

Views: 14581

Answers (1)

phd
phd

Reputation: 94521

python setup.py sdist creates .tar.gz source archive and doesn't create eggs. That's probably what you want instad of python setup.py install.

Upvotes: 17

Related Questions