KxSystems / pyq

PyQ — Python for kdb+
http://code.kx.com/q/interfaces
Apache License 2.0
191 stars 49 forks source link

Wrong exception handled when ldconfig is missing in PATH #118

Closed lparth closed 4 years ago

lparth commented 4 years ago

Questions

Steps to reproduce the issue

Tried to install pyq from source using pip.

Expected result

Install succeed

Actual result

Processing /home/parthi/work/go/src/github.com/KxSystems/pyq ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-8x_l0mi4/setup.py'"'"'; file='"'"'/tmp/pip-req-build-8x_l0mi4/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info cwd: /tmp/pip-req-build-8x_l0mi4/ Complete output (8 lines): running egg_info creating pip-egg-info/pyq.egg-info writing pip-egg-info/pyq.egg-info/PKG-INFO writing dependency_links to pip-egg-info/pyq.egg-info/dependency_links.txt writing requirements to pip-egg-info/pyq.egg-info/requires.txt writing top-level names to pip-egg-info/pyq.egg-info/top_level.txt writing manifest file 'pip-egg-info/pyq.egg-info/SOURCES.txt' error: [Errno 2] No such file or directory: 'ldconfig': 'ldconfig'

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Workaround

I have created https://github.com/KxSystems/pyq/pull/117 which fixes this issue. Please feel free to edit the patch if you need to.

abalkin commented 4 years ago

Thanks. Your solution makes sense. I will merge once we figure out the license situation for the travis builds.

lparth commented 4 years ago

Thanks. Your solution makes sense. I will merge once we figure out the license situation for the travis builds.

Thanks

github-actions[bot] commented 4 years ago

Stale issue message