-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Describe the bug
pip install fretwork fails to install fretwork on Windows. During installation, the find_command() function in setup.py looks for the file .\win32\deps\bin\pkg-config.exe which it cannot find. This is supposed to be in the dependency pack, but because pip is running setup.py from a temp folder, I don't see how the dependency could be placed there.
Error message
PS C:\Users\AFeinstein> pip install fretwork
Collecting fretwork
Using cached fretwork-0.4.0.tar.gz (76 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\AFeinstein\\AppData\\Local\\Temp\\pip-install-pc9dy2rv\\fretwork\\setup.py'"'"'; __file__='"'"'C:\\Users\\AFeinstein\\AppData\\Local\\Temp\\pip-install-pc9dy2rv\\fretwork\\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 'C:\Users\AFeinstein\AppData\Local\Temp\pip-pip-egg-info-f8y2ubrp'
cwd: C:\Users\AFeinstein\AppData\Local\Temp\pip-install-pc9dy2rv\fretwork\
Complete output (3 lines):
checking for program pkg-config... not found
Could not find required program "pkg-config".
(Check that you have the latest version of the dependency pack installed.)
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
To Reproduce
Run pip install fretwork from a Windows operating system
Screenshots
n/a
Environment (please complete the following information):
- Windows 10
- Python 3.8.0