This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/python/common.cmake b/modules/python/common.cmake | |
index b09b721..5743980 100644 | |
--- a/modules/python/common.cmake | |
+++ b/modules/python/common.cmake | |
@@ -50,7 +50,11 @@ ocv_add_library(${the_module} SHARED ${PYTHON_SOURCE_DIR}/src2/cv2.cpp ${cv2_gen | |
if(PYTHON_DEBUG_LIBRARIES AND NOT PYTHON_LIBRARIES MATCHES "optimized.*debug") | |
ocv_target_link_libraries(${the_module} debug ${PYTHON_DEBUG_LIBRARIES} optimized ${PYTHON_LIBRARIES}) | |
else() | |
- ocv_target_link_libraries(${the_module} ${PYTHON_LIBRARIES}) | |
+ if(APPLE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/python/CMakeLists.txt b/modules/python/CMakeLists.txt | |
index 3c0f2fd..354c786 100644 | |
--- a/modules/python/CMakeLists.txt | |
+++ b/modules/python/CMakeLists.txt | |
@@ -64,7 +64,11 @@ add_library(${the_module} SHARED src2/cv2.cpp ${CMAKE_CURRENT_BINARY_DIR}/genera | |
if(PYTHON_DEBUG_LIBRARIES AND NOT PYTHON_LIBRARIES MATCHES "optimized.*debug") | |
target_link_libraries(${the_module} debug ${PYTHON_DEBUG_LIBRARIES} optimized ${PYTHON_LIBRARIES}) | |
else() | |
- target_link_libraries(${the_module} ${PYTHON_LIBRARIES}) | |
+ if(APPLE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/usr/local/lib/python3.5/site-packages/numpy/core/numerictypes.py", line 243, in bitname | |
info = typeinfo[english_upper(newname)] | |
KeyError: 'BYTES' | |
During handling of the above exception, another exception occurred: | |
ValueError: invalid literal for int() with base 10: '' | |
During handling of the above exception, another exception occurred: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execute pathogen#infect() | |
set nocompatible | |
set autoindent | |
set smartindent | |
set tabstop=4 | |
set shiftwidth=4 | |
set ruler | |
set expandtab | |
set softtabstop=4 | |
set number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> a | |
[1] 1 2 3 4 | |
> b | |
[1] -1 | |
> c = rep(a, each=2) | |
> c | |
[1] 1 1 2 2 3 3 4 4 | |
> c[seq.int(from=2, to=length(c), by=2)] = b | |
> c[1:length(c)-1] | |
[1] 1 -1 2 -1 3 -1 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Python3 < Formula | |
homepage "https://www.python.org/" | |
url "https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tar.xz" | |
sha1 "0727d8a8498733baabe6f51632b9bab0cbaa9ada" | |
revision 1 | |
bottle do | |
revision 5 | |
sha1 "65ab2f902152ce86f23eecbb56d9a9fd60b3c22e" => :yosemite | |
sha1 "89ed42bd3070f1c2efca049d150b72f7f5cf3fe7" => :mavericks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a5-20141120.yosemite.bottle.1.tar.gz a5 20141120 homebrew/homebrew-science | |
a5-20141120.mavericks.bottle.1.tar.gz a5 20141120 homebrew/homebrew-science | |
a5-20141120.mountain_lion.bottle.1.tar.gz a5 20141120 homebrew/homebrew-science | |
abinit-7.10.2.yosemite.bottle.tar.gz abinit 7.10.2 homebrew/homebrew-science | |
abinit-7.10.2.mavericks.bottle.tar.gz abinit 7.10.2 homebrew/homebrew-science | |
abinit-7.10.2.mountain_lion.bottle.tar.gz abinit 7.10.2 homebrew/homebrew-science | |
abuse-0.8.yosemite.bottle.tar.gz abuse 0.8 homebrew/homebrew-games | |
abuse-0.8.mavericks.bottle.tar.gz abuse 0.8 homebrew/homebrew-games | |
abuse-0.8.mountain_lion.bottle.tar.gz abuse 0.8 homebrew/homebrew-games | |
abyss-1.5.2.yosemite.bottle.1.tar.gz abyss 1.5.2 homebrew/homebrew-science |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/Cellar/pypy/2.5.0/libexec/site-packages/numpy/core/_dummy.pypy-25.so: | |
build/lib.macosx-10.10-x86_64-2.7/numpy/core/_dummy.pypy-25.so (compatibility version 0.0.0, current version 0.0.0) | |
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) | |
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 283.0.0) | |
/usr/local/Cellar/pypy/2.5.0/libexec/site-packages/numpy/core/_dummy.so: | |
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) | |
/usr/local/Cellar/pypy/2.5.0/libexec/site-packages/numpy/linalg/liblapack_lite.so: | |
build/temp.macosx-10.10-x86_64-2.7/liblapack_lite.so (compatibility version 0.0.0, current version 0.0.0) | |
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) | |
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 283.0.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/Cellar/pypy/2.5.0/libexec/site-packages/numpy/core/_dummy.pypy-25.so: | |
build/lib.macosx-10.10-x86_64-2.7/numpy/core/_dummy.pypy-25.so (compatibility version 0.0.0, current version 0.0.0) | |
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) | |
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 283.0.0) | |
/usr/local/Cellar/pypy/2.5.0/libexec/site-packages/numpy/linalg/liblapack_lite.so: | |
build/temp.macosx-10.10-x86_64-2.7/liblapack_lite.so (compatibility version 0.0.0, current version 0.0.0) | |
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) | |
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 283.0.0) | |
/usr/local/Cellar/pypy/2.5.0/libexec/site-packages/numpy/linalg/libumath_linalg_cffi.so: | |
build/temp.macosx-10.10-x86_64-2.7/libumath_linalg_cffi.so (compatibility version 0.0.0, current version 0.0.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "app_main.py", line 75, in run_toplevel | |
File "app_main.py", line 581, in run_it | |
File "<string>", line 1, in <module> | |
File "/usr/local/Cellar/pypy/2.5.0/libexec/site-packages/numpy/__init__.py", line 170, in <module> | |
from . import add_newdocs | |
File "/usr/local/Cellar/pypy/2.5.0/libexec/site-packages/numpy/add_newdocs.py", line 13, in <module> | |
from numpy.lib import add_newdoc | |
File "/usr/local/Cellar/pypy/2.5.0/libexec/site-packages/numpy/lib/__init__.py", line 18, in <module> | |
from .polynomial import * |