[Synopsis-changes] Synopsis/Synopsis/demo/C++/Boost synopsis.py,1.11,1.12 boost.synopsis,1.12,NONE
Stefan Seefeld stefan at synopsis.fresco.orgTue Dec 16 23:51:57 UTC 2003
- Previous message: [Synopsis-changes] Synopsis/Synopsis/debian changelog,1.3,1.4 control,1.2,1.3 copyright,1.2,1.3 dirs,1.4,1.5 rules,1.2,1.3 synopsis.1,1.1,1.2
- Next message: [Synopsis-changes] Synopsis/Synopsis/doc/Tutorial synopsis.xml,1.15,NONE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /cvs/synopsis/Synopsis/demo/C++/Boost
In directory frida:/tmp/cvs-serv30293/demo/C++/Boost
Modified Files:
synopsis.py
Removed Files:
boost.synopsis
Log Message:
eliminate all explicit references to a python version
Index: synopsis.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/demo/C++/Boost/synopsis.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -d -r1.11 -r1.12
--- synopsis.py 9 Dec 2003 06:34:14 -0000 1.11
+++ synopsis.py 16 Dec 2003 23:51:54 -0000 1.12
@@ -8,6 +8,9 @@ from Synopsis.Formatters import Dump
from Synopsis.Formatters import HTML
from Synopsis.Formatters.HTML.Views import *
+from distutils import sysconfig
+import sys, os.path
+
# this is actually only here as a hack for backward compatibility.
import glob
extra_input = glob.glob('boost/boost/python/*.hpp')
@@ -18,10 +21,10 @@ extra_input += glob.glob('boost/boost/py
# the python include path can be obtained from distutils.sysconfig,
# assuming that the python version used to run synopsis is the same
# boost should be compiled with
-parser = Cxx.Parser(cppflags = ['-DPYTHON_INCLUDE=<python2.2/Python.h>',
+parser = Cxx.Parser(cppflags = ['-DPYTHON_INCLUDE=<python%s/Python.h>'%sys.version[0:3],
'-DBOOST_PYTHON_SYNOPSIS',
'-Iboost',
- '-I/usr/include/python2.2'],
+ '-I%s'%(sysconfig.get_python_inc())],
base_path = 'boost/',
main_file_only = True,
syntax_prefix = 'links/',
--- boost.synopsis DELETED ---
- Previous message: [Synopsis-changes] Synopsis/Synopsis/debian changelog,1.3,1.4 control,1.2,1.3 copyright,1.2,1.3 dirs,1.4,1.5 rules,1.2,1.3 synopsis.1,1.1,1.2
- Next message: [Synopsis-changes] Synopsis/Synopsis/doc/Tutorial synopsis.xml,1.15,NONE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Synopsis-changes mailing list