mirror of
https://github.com/boostorg/python.git
synced 2026-01-20 04:42:28 +00:00
19 lines
638 B
Plaintext
19 lines
638 B
Plaintext
# Hello World Example from the tutorial
|
|
# Copyright Joel de Guzman 2002-2004. Distributed under the Boost
|
|
# Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt
|
|
# or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
# [Joel de Guzman 10/9/2002]
|
|
|
|
# This is the top of our own project tree
|
|
project-root ;
|
|
|
|
# Include definitions needed for Python modules
|
|
import python ;
|
|
|
|
extension hello # Declare a Python extension called hello
|
|
: hello.cpp # source
|
|
# requirements and dependencies for Boost.Python extensions
|
|
<template>@boost/libs/python/build/extension
|
|
;
|
|
|