aboutsummaryrefslogtreecommitdiff
path: root/Python/setup.py
diff options
context:
space:
mode:
authorGravatar Dave Grote <grote1@llnl.gov> 2019-05-14 09:22:05 -0700
committerGravatar Dave Grote <grote1@llnl.gov> 2019-05-14 09:22:05 -0700
commite82f35bfc4b3028af1e92ff285b006392743f613 (patch)
tree64c84fd9ef2ec3f39be143ede49b518ed9283543 /Python/setup.py
parent2aa6375ab6932250063033fc2caa66a78c0d936b (diff)
downloadWarpX-e82f35bfc4b3028af1e92ff285b006392743f613.tar.gz
WarpX-e82f35bfc4b3028af1e92ff285b006392743f613.tar.zst
WarpX-e82f35bfc4b3028af1e92ff285b006392743f613.zip
Fixes for the Python RZ version
Diffstat (limited to 'Python/setup.py')
-rw-r--r--Python/setup.py4
1 files changed, 2 insertions, 2 deletions
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 = {}