-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Task
- Check if regression since OF 2.1.11
- Fix
Symptom
pip install dist/PyOpenFLUID-2.2.0.tar.gz
Returns:
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Processing ./dist/PyOpenFLUID-2.2.0.tar.gz
Building wheels for collected packages: PyOpenFLUID
Building wheel for PyOpenFLUID (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-LP1YPv/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-LP1YPv/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-LZgLFH
cwd: /tmp/pip-req-build-LP1YPv/
Complete output (42 lines):
('Version?', '2.2.0~alpha137\n')
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/PyOpenFLUID
copying PyOpenFLUID/__init__.py -> build/lib.linux-x86_64-2.7/PyOpenFLUID
running build_ext
CMake Error: The source directory "/tmp/pip-req-build-LP1YPv/PyOpenFLUID" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-LP1YPv/setup.py", line 111, in <module>
zip_safe=False
File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 162, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/dist-packages/wheel/bdist_wheel.py", line 290, in run
self.run_command('build')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/pip-req-build-LP1YPv/setup.py", line 72, in run
self.build_extension(Ext)
File "/tmp/pip-req-build-LP1YPv/setup.py", line 85, in build_extension
subprocess.check_call(['cmake', CMakeSrcDir ] + CMakeConfigArgs,cwd=self.build_temp, env=Env)
File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-req-build-LP1YPv/PyOpenFLUID', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-req-build-LP1YPv/build/lib.linux-x86_64-2.7']' returned non-zero exit status 1
----------------------------------------
ERROR: Failed building wheel for PyOpenFLUID
Running setup.py clean for PyOpenFLUID
Failed to build PyOpenFLUID
Installing collected packages: PyOpenFLUID
Running setup.py install for PyOpenFLUID ... error
ERROR: Command errored out with exit status 1:
...
Metadata
Metadata
Assignees
Labels
No labels