Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the 'dir_dist_scripts' property in python3 breaks the setup script #112

Closed
raphiz opened this issue Dec 30, 2014 · 1 comment
Closed

Comments

@raphiz
Copy link
Contributor

raphiz commented Dec 30, 2014

I tried to move scripts to a nested directory using the dir_dist_scripts property (Moving scripts to a nested directory)
I got the following error:

BUILD FAILED - Error while executing setup command sdist

I then found the following line in the generated setup.py:

scripts = <map object at 0x7ff6585802e8>,

Without the mentioned dir_dist_scripts property the same line looked like this:

scripts = ['myscript'],

This issue only occurs when using Python 3.x.

@mriehl
Copy link
Member

mriehl commented Dec 30, 2014

pybuilder==0.10.37 ships with your fix. Many thanks for both reporting and fixing it, and kudos for the regression test!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants