path-constant TOP : . ; include $(TOP)/../boost-version.jam ; using python ; project : requirements $(BOOST_HEADERS) windows:../OpenSSL/install/include/ ../fost-base/Cpp/include/ ../fost-orm/Cpp/include/ multi shared windows:on windows:on windows:off windows:on windows:database windows:WIN32 windows:_AFXDLL windows:UNICODE windows:_UNICODE : default-build debug : build-dir $(BUILD_DIRECTORY) ; # A little "rule" (function) to clean up the syntax of declaring tests # of these extension modules. rule run-test ( test-name : sources + ) { import testing ; testing.make-test run-pyd : $(sources) : : $(test-name) ; } # An install rule for the Python libs rule py-install ( pyd : location ) { install ../../../dist/lib : $(pyd) : linux:LIB linux:on windows:XXX ; install ../../../dist/bin : $(pyd) : windows:LIB windows:on ; local loc = "../../../dist/lib/python2.6/site-packages/" $(location) ; install $(loc:J) : $(pyd) ; } build-project Cpp/fost-python-test/ ; build-project Cpp/fost-crypto-py/ ; build-project Cpp/fost-internet-py/ ; build-project Cpp/fost-json-py/ ; build-project Cpp/fost-settings-py/ ; build-project Cpp/fost-fpython/ ; build-project Python/ ; import path ; install ../dist/lib/python2.6/site-packages/Fost : [ path.glob-tree Python/Fost : *.* : .svn *.pyc *.so ] : Python/Fost ;