代码搜索结果
找到约 11,834 项符合
Python 的代码
python.jam
# Copyright 2004 Vladimir Prus.
# 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)
# Support
test1.py
#!/usr/bin/python
import BoostBuild
t = BoostBuild.Tester()
t.write("test.jam","""
actions unbuilt { } unbuilt all ;
ECHO "Hi" ;
""")
t.run_build_system("-ftest.jam", stdout="Hi\n")
t.
unit_tests.py
#!/usr/bin/python
from BoostBuild import Tester
t = Tester(pass_toolset=0)
t.run_build_system(extra_args="--debug --build-system=test")
t.cleanup()
python.jam
if ! $(gPYTHON_INCLUDED)
{
gPYTHON_INCLUDED = true ;
import testing ;
# Do some OS-specific setup
if $(NT)
{
CATENATE = type ;
}
else if $(UNIX)
{
CATENATE = cat ;
}
PYT
python22_fixed.h
// This file is a modified version of Python 2.2/2.2.1 Python.h. As
// such it is:
//
// Copyright (c) 2001, 2002 Python Software Foundation; All Rights
// Reserved
//
// Changes from the
rst2html
#!/bin/sh
PYTHONPATH="c:/src/docutils/docutils;c:/src/docutils/docutils/extras"
export PYTHONPATH
python c:/src/docutils/docutils/tools/rst2html.py -gs $1 `echo $1 | sed 's/\(.*\)\..*/\1.html/'`
rst2latex
#!/bin/sh
PYTHONPATH="c:/src/docutils/docutils;c:/src/docutils/docutils/extras"
export PYTHONPATH
python c:/src/docutils/docutils/tools/rst2latex.py --documentoptions pdftex --stylesheet=docutils.s
jamfile.v2
import os ;
import modules ;
import python ;
if [ python.configured ] {
project boost/python
: source-location ../src
: requirements
#$(PYTHON_PATH)/include
callbacks.txt
Here's the plan:
I aim to provide an interface similar to that of Boost.Python v1's
callback::call(...) for dealing with callbacks. The interface will
look like:
returning::c
tutorial.qbk
[library python
[version 1.0]
[authors [de Guzman, Joel], [Abrahams, David]]
[copyright 2002 2003 2004 2005 Joel de Guzman, David Abrahams]
[category inter-language support]
[