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

OSX build error if more than one pure-python module #226

Closed
alanjds opened this issue Apr 13, 2014 · 1 comment
Closed

OSX build error if more than one pure-python module #226

alanjds opened this issue Apr 13, 2014 · 1 comment

Comments

@alanjds
Copy link
Contributor

alanjds commented Apr 13, 2014

distribute.sh is creating a bad requirements.txt in OSX if multiple pure-python modules are provided:

./distribute.sh -m "kivy pygments requests"
(...)
Create a requirement file for pure-python modules
Install pure-python modules via pip in venv
Downloading/unpacking requestsnpygments (from -r requirements.txt (line 1))

Because of this: http://stackoverflow.com/q/6111679/798575

I changed the line 723 manually from:

    try echo "$PYMODULES" | try sed 's/\ /\n/g' > requirements.txt

to

    try echo "$PYMODULES" | try sed 's/\ /\
/g' > requirements.txt

and worked. Is this an acceptable patch on all platforms?

@inclement
Copy link
Member

Fixed in the new toolchain, and possibly in the old one. Thanks for reporting it.

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