From e82f35bfc4b3028af1e92ff285b006392743f613 Mon Sep 17 00:00:00 2001 From: Dave Grote Date: Tue, 14 May 2019 09:22:05 -0700 Subject: Fixes for the Python RZ version --- Python/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Python/setup.py') diff --git a/Python/setup.py b/Python/setup.py index f4917e7e2..ecb87190c 100644 --- a/Python/setup.py +++ b/Python/setup.py @@ -10,12 +10,12 @@ import argparse from setuptools import setup argparser = argparse.ArgumentParser(add_help=False) -argparser.add_argument('--with-libwarpx', type=int, default=None, help='Install libwarpx with the given value as DIM. This option is only used by the makefile.') +argparser.add_argument('--with-libwarpx', type=str, default=None, help='Install libwarpx with the given value as DIM. This option is only used by the makefile.') args, unknown = argparser.parse_known_args() sys.argv = [sys.argv[0]] + unknown if args.with_libwarpx: - package_data = {'pywarpx' : ['libwarpx%dd.so'%args.with_libwarpx]} + package_data = {'pywarpx' : ['libwarpx%s.so'%args.with_libwarpx]} else: package_data = {} -- cgit v1.2.3