[Django]-Setup.py: expected parenthesized list when required package name contains a dash

31👍

The require argument is from distutils and expects python package names (some documentation here). Since you’re using setuptools, you should use the install_requires argument instead, which does support PyPI package names:

install_requires=['djangotinymce', 'MtFileUtil', 'Django', 'PyYAML'],

More info on Specifying Dependencies in the Python Packaging User Guide.

Leave a comment