Open atv2016 opened 8 months ago
This library has been tested for windows, I have not tested it under Linux or Unix However I believe that changing the compilation attributes will do the job
Replace the lines (Windows compilation attributes)
ext_modules=cythonize([
Extension("BloomEffect.bloom", ["BloomEffect/bloom.pyx"],
extra_compile_args=["/openmp", "/Qpar", "/fp:fast", "/O2", "/Oy", "/Ot"], language="c")]),
with (linux/unix) equivalent for i686
ext_modules=cythonize([
Extension("BloomEffect.bloom", ["BloomEffect/bloom.pyx"],
extra_compile_args= ["-DPLATFORM=linux", "-march=i686", "-m32", "-O3",
"-ffast-math", "--param=max-vartrack-size=1500000",
"-Wall", "-fopenmp", "-static"] ,language="c")]),
or (unix/linux) equivalent for x86-64
ext_modules=cythonize([
Extension("BloomEffect.bloom", ["BloomEffect/bloom.pyx"],
extra_compile_args=["-DPLATFORM=linux", "-march=x86-64", "-m64", "-O3", "-ffast-math", "-Wall", "-static",
"--param=max-vartrack-size=1500000"] ,language="c")]),
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for BloomEffect Failed to build BloomEffect ERROR: Could not build wheels for BloomEffect, which is required to install pyproject.toml-based projects
when doing a pip3 install BloomEffect, I have wheel, setup tools, cython and numpy installed.