higery
higery

Reputation: 63

sdist error: option --manifest-only not recognized

Everytime I use sdist to creat the MANIFEST file with the command:

'python setup.py sdist --manifest-only'

The terminal always outputs this error msg.

error: option --manifest-only not recognized

I don't know why and am looking for help.

Upvotes: 6

Views: 2400

Answers (1)

Sebastian Blask
Sebastian Blask

Reputation: 2938

I guess you use

from setuptools import setup

in you setup.py ? Setuptools seems not to support this option. I prefer to stick to the standard Python way and use:

from distutils.core import setup

Upvotes: 7

Related Questions