The Makefile hardcodes a python 2.6 sitelib path. That's probably not a good idea.
the makefile will be removed in the next release and replaced by a setup.py
I don't see the setup.py coming...
Would it be better to change it to 2.7 in the meantime?
A workaround could be to use $(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)"). Would that work for you?
Seems to work on my machine.
What is the 0 for in get_python_lib(0)? Why not
$(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
?
It makes sure that the platform independent version is taken, which is the default anyway if you omit it.
This should be fixed, now.
https://sourceforge.net/p/gbirthday/code/ci/131684802f934ec3ffcbac3471dafc647055c733/tree/Makefile?diff=05cff846193eeb7c26c3ead4ebd7381fd93d8d00
Oops... Repeat ten times. 0 is False, not True. 0 is False, not True...
https://sourceforge.net/p/gbirthday/code/ci/c56a5e3ff32f1a634906e133bd344fcd0ca026b9/tree/Makefile?diff=131684802f934ec3ffcbac3471dafc647055c733
Log in to post a comment.
the makefile will be removed in the next release and replaced by a setup.py
I don't see the setup.py coming...
Would it be better to change it to 2.7 in the meantime?
A workaround could be to use $(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)"). Would that work for you?
Seems to work on my machine.
What is the 0 for in get_python_lib(0)? Why not
$(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
?
It makes sure that the platform independent version is taken, which is the default anyway if you omit it.
This should be fixed, now.
https://sourceforge.net/p/gbirthday/code/ci/131684802f934ec3ffcbac3471dafc647055c733/tree/Makefile?diff=05cff846193eeb7c26c3ead4ebd7381fd93d8d00
Oops... Repeat ten times. 0 is False, not True. 0 is False, not True...
https://sourceforge.net/p/gbirthday/code/ci/c56a5e3ff32f1a634906e133bd344fcd0ca026b9/tree/Makefile?diff=131684802f934ec3ffcbac3471dafc647055c733