Skip to content

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

@alanjds

Description

@alanjds

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions