andreafrancia / trash-cli

Command line interface to the freedesktop.org trashcan.
GNU General Public License v2.0
3.63k stars 177 forks source link

Build without setuptools #192

Closed ghost closed 3 years ago

ghost commented 3 years ago

Build trash-cli without setuptools and pip produces following error:

/usr/local/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) /usr/local/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg)

Looks like install_requires is setuptools extension as this page says.

Change distutils.core to setuptools in setup.py and this error message disappear.

trash-cli version 0.20.12.26