Menu

[r3938]: / branches / transforms / makeswig.py  Maximize  Restore  History

Download this file

24 lines (17 with data), 494 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
"""
requires swig cvs as of 2005-02-24
"""
import os, sys
wrap = (
'agg',
)
#SWIG = 'swig'
SWIG = '/home/titan/johnh/dev/bin/swig'
AGGINCLUDE = 'agg23/include'
swigit = '%(SWIG)s -python -c++ -outdir lib/matplotlib -o src/%(SWIGFILE)s.cxx -I%(AGGINCLUDE)s swig/%(SWIGFILE)s.i '
os.system('%(SWIG)s -python -external-runtime src/swig_runtime.h'%locals())
for SWIGFILE in wrap:
command = swigit%locals()
print 'swigging %s'%SWIGFILE
print command
os.system(command)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.