Skip to content

Streamline build process to use a single make and config file#144

Merged
isbadawi merged 9 commits intoarokem:masterfrom
blink1073:py34-build
Feb 17, 2015
Merged

Streamline build process to use a single make and config file#144
isbadawi merged 9 commits intoarokem:masterfrom
blink1073:py34-build

Conversation

@blink1073
Copy link
Collaborator

No description provided.

@isbadawi
Copy link
Collaborator

LGTM. You should be able to delete get_messenger_dir.py, no?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be 2, not 1

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the quotes around the executable I get an OSError: [Errno 2] No such file or directory on my mac.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, looking at the original version it looks like those quotes were there. But yeah I got the same error on Linux with Matlab (must be a windows-only thing).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably just os.system has different semantics than check_output.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, you reminded me to use shlex.split, which will handle spaces in paths.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And yes, that does make sense, since we are passing a list of strings.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still get an error here when building for matlab. I ran the mex command manually and it looks like I don't get a .o file anywhere, actually.

isbadawi added a commit that referenced this pull request Feb 17, 2015
Streamline build process to use a single make and config file
@isbadawi isbadawi merged commit 37d2b92 into arokem:master Feb 17, 2015
@blink1073 blink1073 mentioned this pull request Feb 19, 2015
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

Successfully merging this pull request may close these issues.

2 participants