Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
741ff1b
building messenger call now from root
jjangsangy Mar 25, 2015
0ab4034
deprecated local.cfg
jjangsangy Mar 25, 2015
b548443
added get_matlab_env function
jjangsangy Mar 26, 2015
ba6854a
function for fetching zmq source
jjangsangy Mar 26, 2015
4dfaae1
Fixed windows path
jjangsangy Mar 26, 2015
cc4bfef
Fixed windows path
jjangsangy Mar 26, 2015
df41971
commit
jjangsangy Mar 26, 2015
be0e585
Fixed windows path
jjangsangy Mar 26, 2015
0266b48
fixed bug with zip-safe
jjangsangy Mar 27, 2015
d7797ee
cleanup
jjangsangy Mar 27, 2015
d4476c7
urllib can go die
jjangsangy Mar 27, 2015
436ae0d
get_config() now actually returns a dict for the host platform
jjangsangy Mar 27, 2015
7eb892a
oops forgot a comma
jjangsangy Mar 27, 2015
f701877
fixed bug with zip-safe
jjangsangy Mar 27, 2015
a3735b4
Fixed windows path
jjangsangy Mar 26, 2015
5fca4de
get_config() now actually returns a dict for the host platform
jjangsangy Mar 27, 2015
3551b76
Use platform.machine().endswith(64) over sys.maxsize
jjangsangy Mar 30, 2015
1316635
fixed docstring to fit scipy spec
jjangsangy Mar 30, 2015
b70d06f
Mereged messenger commits to master
jjangsangy Mar 30, 2015
5ebb8f6
added tests for messenger functions
jjangsangy Mar 30, 2015
18cb0cc
python 2 glob issue
jjangsangy Mar 30, 2015
ce25c87
python 2 strings do not have maxsplit kwarg, use string module split
jjangsangy Mar 31, 2015
d3f605a
tests validate that builds are possible rather than anticipate for al…
jjangsangy Mar 31, 2015
95115f9
small bug in get_matlab_dir()
jjangsangy Mar 31, 2015
2517545
octave build works
jjangsangy Apr 11, 2015
0300ccc
and the epic rebasing continues
jjangsangy Apr 12, 2015
deada06
cherry-picking setuptools related commits
jjangsangy Mar 27, 2015
b57da42
import only bare minimum through exec
jjangsangy Mar 27, 2015
4f4fa3c
working build on osx
jjangsangy Apr 22, 2015
9b9daa7
setup
jjangsangy Apr 22, 2015
7f6cb89
holy crap it works
jjangsangy Apr 22, 2015
fec95c9
building messenger call now from root
jjangsangy Mar 25, 2015
8157eda
deprecated local.cfg
jjangsangy Mar 25, 2015
388f95a
added get_matlab_env function
jjangsangy Mar 26, 2015
6216fb5
function for fetching zmq source
jjangsangy Mar 26, 2015
f9eefb7
Fixed windows path
jjangsangy Mar 26, 2015
5ea7faf
commit
jjangsangy Mar 26, 2015
3790ca3
fixed bug with zip-safe
jjangsangy Mar 27, 2015
b0a0de4
cleanup
jjangsangy Mar 27, 2015
7658bb4
urllib can go die
jjangsangy Mar 27, 2015
92ce4bb
get_config() now actually returns a dict for the host platform
jjangsangy Mar 27, 2015
84a40fe
oops forgot a comma
jjangsangy Mar 27, 2015
a2f65e7
get_config() now actually returns a dict for the host platform
jjangsangy Mar 27, 2015
f879866
Use platform.machine().endswith(64) over sys.maxsize
jjangsangy Mar 30, 2015
5bb4fef
fixed docstring to fit scipy spec
jjangsangy Mar 30, 2015
9627cce
added tests for messenger functions
jjangsangy Mar 30, 2015
901fe1f
python 2 glob issue
jjangsangy Mar 30, 2015
7f329b8
python 2 strings do not have maxsplit kwarg, use string module split
jjangsangy Mar 31, 2015
b0b0205
tests validate that builds are possible rather than anticipate for al…
jjangsangy Mar 31, 2015
45a4274
small bug in get_matlab_dir()
jjangsangy Mar 31, 2015
8c560f0
octave build works
jjangsangy Apr 11, 2015
83ffc35
and the epic rebasing continues
jjangsangy Apr 12, 2015
b844817
cherry-picking setuptools related commits
jjangsangy Mar 27, 2015
1071a1a
import only bare minimum through exec
jjangsangy Mar 27, 2015
321ab0e
working build on osx
jjangsangy Apr 22, 2015
6442b60
setup
jjangsangy Apr 22, 2015
3301167
holy crap it works
jjangsangy Apr 22, 2015
c92d1de
rebase
jjangsangy Apr 23, 2015
668ad80
Fixed issue with coverage
jjangsangy Apr 25, 2015
155a196
setup.cfg metadata is deprecated, so moved information back into setu…
jjangsangy Apr 28, 2015
21e7f28
Go back to running nosetests for now
jjangsangy Apr 28, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ rebuildTags.sh

# caused py setup.py develop
pymatbridge.egg-info

.idea/scopes/scope_settings.xml
30 changes: 30 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
Pymatbridge
===========

A python interface to call out to Matlab(R).


License information
===================

Copyright (c) 2012 -- , Max Jaderberg, Ariel Rokem, Haoxing Zhao
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.

Neither the name of the Oxford University, Stanford University nor the names of
its contributors may be used to endorse or promote products derived from this
software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Copyright (c) 2013. See "Contributors". MATLAB (R) is copyright of the Mathworks.

All rights reserved.
Expand Down
24 changes: 24 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
include LICENSE
include config.ini
include README.md
include requirements.txt
include setup.cfg
include scripts/publish-notebook

include pymatbridge/messenger/src/messenger.c

include pymatbridge/messenger/mexa64/*
include pymatbridge/messenger/mexmaci64/*
include pymatbridge/messenger/mexw64/*
include pymatbridge/messenger/mexa64/*

include pymatbridge/matlab/messenger.mex
include pymatbridge/matlab/messenger.mex.zmq3
include pymatbridge/matlab/messenger.mexmaci64
include pymatbridge/matlab/messenger.mexmaci64.zmq3
include pymatbridge/matlab/util/json_v0.2.2/json/java/json.jar
include pymatbridge/matlab/util/json_v0.2.2/LICENSE

recursive-include pymatbridge *.py *.ipynb *.m
recursive-include scripts *
recursive-include tools *
20 changes: 20 additions & 0 deletions config.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[Darwin]
; MATLAB_BIN=Applications/MATLAB_R2014a.app/bin
Copy link
Owner

Choose a reason for hiding this comment

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

May as well use # for lines that are commented out. I find this special syntax to be just confusing.

Copy link
Owner

Choose a reason for hiding this comment

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

This comment still holds

OCTAVE_INC=/usr/local/Cellar/octave/3.8.2/include/octave-3.8.2/octave
OCTAVE_LIB=/usr/local/Cellar/octave/3.8.2/lib/octave/3.8.2
ZMQ_INC=/usr/local/include
ZMQ_LIB=/usr/local/lib

[Windows]
; MATLAB_BIN=C:\Program Files\MATLAB\R2014b\bin
; OCTAVE_INC=C:\Octave\Octave-3.8.2\include\octave-3.8.2\octave
; OCTAVE_LIB=C:\Octave\Octave-3.8.2\lib\octave\3.8.2
ZMQ_INC=C:/Program Files/ZeroMQ 4.0.4/include
ZMQ_LIB=C:/Program Files/ZeroMQ 4.0.4/lib

[Linux]
; MATLAB_BIN=/usr/local/bin
; OCTAVE_INC=/usr/include
; OCTAVE_LIB=/usr/lib/x86_64-linux-gnu/
ZMQ_INC=
ZMQ_LIB=
Empty file removed messenger/__init__.py
Empty file.
291 changes: 0 additions & 291 deletions messenger/make.py

This file was deleted.

6 changes: 0 additions & 6 deletions messenger/mexa64/local.cfg

This file was deleted.

5 changes: 0 additions & 5 deletions messenger/mexmaci64/local.cfg

This file was deleted.

Loading