We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b32dcfd commit cab4ca1Copy full SHA for cab4ca1
bindings/python/setup.py.in
@@ -18,16 +18,14 @@ LIBS = '@LIBS@'
18
all_libs = shlex.split(LIBS + ' ' + OPENPACE_LIBS + ' ' + CRYPTO_LIBS)
19
all_cflags = shlex.split(CPPFLAGS + ' ' + CFLAGS + ' ' + OPENPACE_CFLAGS + ' ' + CRYPTO_CFLAGS)
20
21
-import shutil
+import shutil, glob
22
import os
23
-shutil.copyfile('../eac.i', 'eac.i')
24
-os.system('pwd')
25
-os.system('ls')
+for file in glob.glob('../*.i'):
+ shutil.copy(file, '.')
26
27
#Prepare the external module that we want to build
28
eac_module = Extension('_eac',
29
- sources=['@srcdir@/../eac.i'],
30
- swig_opts=['-outdir', '@srcdir@/..', '-I@srcdir@/..'],
+ sources=['eac.i'],
31
extra_compile_args=all_cflags,
32
extra_link_args=all_libs)
33
0 commit comments