|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65638 - trunk/libs/python/example/tutorial
From: ghost_at_[hidden]
Date: 2010-09-27 12:27:17
Author: vladimir_prus
Date: 2010-09-27 12:27:16 EDT (Mon, 27 Sep 2010)
New Revision: 65638
URL: http://svn.boost.org/trac/boost/changeset/65638
Log:
Make extension copied to current directory, for convenient testing
Text files modified:
trunk/libs/python/example/tutorial/Jamroot | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
Modified: trunk/libs/python/example/tutorial/Jamroot
==============================================================================
--- trunk/libs/python/example/tutorial/Jamroot (original)
+++ trunk/libs/python/example/tutorial/Jamroot 2010-09-27 12:27:16 EDT (Mon, 27 Sep 2010)
@@ -26,6 +26,14 @@
# source files after the colon separated by spaces.
python-extension hello_ext : hello.cpp ;
+# Put the extension and Boost.Python DLL in the current directory, so
+# that running script by hand works.
+install convenient_copy
+ : hello_ext
+ : <install-dependencies>on <install-type>SHARED_LIB <install-type>PYTHON_EXTENSION
+ <location>.
+ ;
+
# A little "rule" (function) to clean up the syntax of declaring tests
# of these extension modules.
local rule run-test ( test-name : sources + )
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk