[caffe] 11/11: patch: bump python from 2 to 3
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Fri Jun 3 09:31:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
cdluminate-guest pushed a commit to branch master
in repository caffe.
commit 6d72d205fdf5395dd33ab3c4bf8253954eda24a3
Author: Zhou Mo <cdluminate at gmail.com>
Date: Fri Jun 3 09:30:45 2016 +0000
patch: bump python from 2 to 3
---
debian/patches/cmake-fix-python-module-installdir | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/patches/cmake-fix-python-module-installdir b/debian/patches/cmake-fix-python-module-installdir
index 47619a1..ec34da8 100644
--- a/debian/patches/cmake-fix-python-module-installdir
+++ b/debian/patches/cmake-fix-python-module-installdir
@@ -7,7 +7,7 @@ Forwarded: no
file(WRITE ${PROJECT_BINARY_DIR}/__init__.py)
list(APPEND proto_python ${PROJECT_BINARY_DIR}/__init__.py)
-install(PROGRAMS ${proto_python} DESTINATION python/caffe/proto)
-+install(PROGRAMS ${proto_python} DESTINATION lib/python2.7/dist-packages/caffe/proto)
++install(PROGRAMS ${proto_python} DESTINATION lib/python3/dist-packages/caffe/proto)
--- a/python/CMakeLists.txt
@@ -19,9 +19,9 @@ Forwarded: no
-install(FILES ${files2} DESTINATION python/caffe)
-install(TARGETS pycaffe DESTINATION python/caffe)
-install(DIRECTORY caffe/imagenet caffe/proto caffe/test DESTINATION python/caffe)
-+install(FILES ${files2} DESTINATION lib/python2.7/dist-packages/caffe)
-+install(TARGETS pycaffe DESTINATION lib/python2.7/dist-packages/caffe)
-+install(DIRECTORY caffe/imagenet caffe/proto caffe/test DESTINATION lib/python2.7/dist-packages/caffe)
++install(FILES ${files2} DESTINATION lib/python3/dist-packages/caffe)
++install(TARGETS pycaffe DESTINATION lib/python3/dist-packages/caffe)
++install(DIRECTORY caffe/imagenet caffe/proto caffe/test DESTINATION lib/python3/dist-packages/caffe)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/caffe.git
More information about the debian-science-commits
mailing list