aboutsummaryrefslogtreecommitdiff
path: root/Python/setup.py
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-05-17 09:52:24 -0700
committerGravatar GitHub <noreply@github.com> 2019-05-17 09:52:24 -0700
commitfef3051d82a205c6d9bb38f3ad7af7ac11ab494d (patch)
tree9dcb29f6f66a1228bdcdd587c4ebb82f9297e128 /Python/setup.py
parent033a2bd6515b13bb199746f8a69d7e2479b8055e (diff)
parente82f35bfc4b3028af1e92ff285b006392743f613 (diff)
downloadWarpX-fef3051d82a205c6d9bb38f3ad7af7ac11ab494d.tar.gz
WarpX-fef3051d82a205c6d9bb38f3ad7af7ac11ab494d.tar.zst
WarpX-fef3051d82a205c6d9bb38f3ad7af7ac11ab494d.zip
Merge pull request #143 from ECP-WarpX/Python_RZ
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 = {}