Sdist error: option - manifest is just not recognized

Every time I use sdist to create a MANIFEST file with the command:

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

The terminal always displays this error.

error: option - manifest is not recognized

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

+4
source share
1 answer

I assume that you are using

 from setuptools import setup 

do you have setup.py? Setuptools does not seem to support this option. I prefer to stick with the standard Python method and use:

 from distutils.core import setup 
+5
source

Source: https://habr.com/ru/post/1347940/


All Articles