Skip to content

Commit cfd1cab

Browse files
set python_requires
just a guess, but the code uses f-strings, which were introduced in 3.6
1 parent 49da52b commit cfd1cab

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def build_libcharm(charm_src_dir, build_dir):
197197
for output_dir in lib_output_dirs:
198198
log.info('copying ' + os.path.relpath(lib_src_path) + ' to ' + os.path.relpath(output_dir))
199199
shutil.copy(lib_src_path, output_dir)
200-
200+
201201

202202
# ---- copy charmrun ----
203203
charmrun_src_path = os.path.join(charm_src_dir, 'charm', 'bin', charmrun_filename)
@@ -273,7 +273,7 @@ def run(self):
273273
class _renameInstalled(_install_lib):
274274
def __init__(self, *args, **kwargs):
275275
_install_lib.__init__(self, *args, **kwargs)
276-
276+
277277
def install(self):
278278
log.info("Renaming libraries")
279279
outfiles = _install_lib.install(self)
@@ -329,7 +329,7 @@ def install(self):
329329
extra_link_args=["-Wl,-rpath,@loader_path/../.libs"]
330330
else:
331331
extra_link_args=["-Wl,-rpath,$ORIGIN/../.libs"]
332-
332+
333333
cobject_extra_args = []
334334
log.info("Extra object args for object store")
335335
if os.name != 'nt':
@@ -346,7 +346,7 @@ def install(self):
346346
extra_compile_args=['-g0', '-O3'],
347347
extra_link_args=extra_link_args,
348348
), compile_time_env={'HAVE_NUMPY': haveNumpy}))
349-
349+
350350
extensions.extend(cythonize(setuptools.Extension('charm4py.c_object_store',
351351
sources=['charm4py/c_object_store.pyx'],
352352
include_dirs=['charm_src/charm/include'] + my_include_dirs,
@@ -392,7 +392,7 @@ def install(self):
392392
],
393393
},
394394
install_requires=['numpy>=1.10.0', 'greenlet>=3.0.0', 'cython>=3.0.0', 'cmake'],
395-
#python_requires='>=2.7, ~=3.4',
395+
python_requires='~=3.6',
396396
classifiers=[
397397
'Intended Audience :: Developers',
398398
'License :: Free for non-commercial use',

0 commit comments

Comments
 (0)