cropgui icon indicating copy to clipboard operation
cropgui copied to clipboard

install.sh doesn't work correctly if -p is given before -P

Open AlisterH opened this issue 11 years ago • 1 comments

There is a bug in install.sh If I do this:

./install.sh -p /usr -P /usr/bin/python2 

then I get this, and the files are not installed properly:

  File "<string>", line 1
    import distutils.sysconfig; print distutils.sysconfig.get_python_lib()
                                              ^
SyntaxError: invalid syntax
Installing gtk version of cropgui
Installed cropgui gtk

If I do this it works:

./install.sh -P /usr/bin/python2  -p /usr

AlisterH avatar Jun 15 '14 13:06 AlisterH

[I'd rather burn down install.sh and make this set up & run via modern Python packaging methods e.g., pyproject.toml & pip install]

jepler avatar Jun 07 '24 16:06 jepler