Supply flags to bdist

This commit is contained in:
Adam J. Stewart 2016-07-08 16:08:53 -05:00
parent 8d0758fc4c
commit a2578c21e4

View file

@ -62,9 +62,10 @@ def install(self, spec, prefix):
spec['meep'].prefix.lib spec['meep'].prefix.lib
] ]
include_flags = '-I{0}'.format(','.join(include_dirs))
library_flags = '-L{0}'.format(','.join(library_dirs))
python(setup, 'clean', '--all') python(setup, 'clean', '--all')
python(setup, 'build_ext', python(setup, 'build_ext', include_flags, library_flags)
'-I{0}'.format(','.join(include_dirs)),
'-L{0}'.format(','.join(library_dirs)))
python(setup, 'install', '--prefix={0}'.format(prefix)) python(setup, 'install', '--prefix={0}'.format(prefix))
python(setup, 'bdist') python(setup, 'bdist', include_flags, library_flags)