path-constant TOP : . ; include $(TOP)/../boost-version.jam ; include ../fost-base/fost.jam ; using python ; use-project Boost : ../Boost ; use-project fost-base : ../fost-base ; use-project fost-internet : ../fost-internet ; use-project fost-orm : ../fost-orm ; fost-project fost-py : ../fost-internet/Cpp/include ../fost-orm/Cpp/include ; # 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 ) { local loc = "../../../dist/lib/python/site-packages/" $(location) ; install $(loc:J) : $(pyd) ; } fost-install-loc .. : ../Boost//boost-python-dll ; alias fost : Cpp/fost-crypto-py Cpp/fost-fpython Cpp/fost-internet-py Cpp/fost-json-py Cpp/fost-pyhost Cpp/fost-python Cpp/fost-schema-py Cpp/fost-settings-py Cpp/fost-wsgi Python ; alias tests : Cpp/fost-pyhost-test Cpp/fost-python-test Cpp/fost-wsgi-test ; explicit tests ; alias examples : Examples/wsgi/ ; explicit examples ; import path ; install ../dist/lib/python/site-packages/Fost : [ path.glob-tree Python/Fost : *.* : .svn *.py~ *.pyc *.so ] : Python/Fost ;