• 
      

    Fixed Error "setup command: package_data must be a dictionary mapping package names to lists of wildcard patterns" for new extensions

    Review Request #6704 — Created Dec. 18, 2014 and submitted — Latest diff uploaded

    Information

    Review Board
    master
    85e8a85...

    Reviewers

    When a new extension is created using ./contrib/tools/generate_extension.py and running 'python setup.py develop' an error "setup command: package_data must be a dictionary mapping package names to lists of wildcard patterns" occurs. The problem is caused by the setup.py file importing future unicode literals because Python2 setuptools expects a "str" for parsing package_data.

    Now the future import has been removed, and the error no longer occurs.

    Created a new extension and ran 'python setup.py develop' with no errors.