Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: fbf07e6533
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (19 sloc) 0.835 kB
from distutils.core import setup, Extension
from subprocess import Popen, PIPE
WVBUILD='../wvbuild'
WVSTREAMS="%s/wvstreams/include" % WVBUILD
WVSTREAMSLIB="%s/%s-linux" % (WVBUILD,
Popen(['uname', '-m'], stdout=PIPE).communicate()[0].rstrip())
includes = [WVSTREAMS, "%s/include" % WVSTREAMSLIB,
"/usr/include/wvstreams", "/usr/include/xplc-0.3.13",
"/usr/local/include/wvstreams"]
_wvcsv_mod = Extension('_wvcsv',
sources=['_wvcsv.cc',
'wvcsv.cc'],
include_dirs=includes + ['../cli'],
library_dirs=[WVSTREAMSLIB],
libraries=['wvbase', 'wvutils', 'wvstreams'])
setup(name='Python_WvCsv',
version='0.1',
description='WvCsv bindings for Python',
ext_modules=[_wvcsv_mod])
Jump to Line
Something went wrong with that request. Please try again.