Some fixes (patch attached)
Hi,
Attachd is a patch that fixes some problems in the LHAPDF code.
Changes
-
src/Makefile.am
- Do not include
$(prefix)/include
in the header path. One can accidently include headers of older or conflicting versions of the library. - Similar for
$(prefix)/lib
- Do not include
-
wrappers/python/Makefile.am
- To enable out-of-source-tree-build ("don't eat where you sh*t") prefix
lhadpdf.pyx
by$(srcdir)
- Also for out-of-source-tree-build specify output file
- CPython currently still defaults to Python 2. Python 2 is fazed out, so pass the option
-3
for Python 3. - Pass
-I$(srcdir)
to Cython build environment to include headers from there
- To enable out-of-source-tree-build ("don't eat where you sh*t") prefix
-
wrappers/python/lhapdf.pyx
- Upgrade to Python 3 by adding parenthesis to
print
calls
- Upgrade to Python 3 by adding parenthesis to
Yours,
Christian