cemeyer/hadoofus — pull request #18 by tarnfeld (2014-05-07 00:05:34+00:00)
Title: Include the libhadoofus files in the python module

This is a little far from the ideal, since we've got a list of all the objects in multiple places. However, this does achieve what we need.

- Fresh repo (`make clean` from the root)
- Import error, no module found, when trying to import `hadoofus` from anywhere on the system
- `cd wrappers/py && python setup.py install`
- Compiles the Cython code (if needed) and generates `hadoofus.so`
- Compiles the `libhadoofus` code
- Statically links the whole thing together into a single `.so` which is installed into your `site-packages` folder

Now `import hadoofus` works flawlessly anywhere on the system! It's worth noting, that distutils is doing some crazy stuff here, it actually parses Makefiles and extracts all the flags.

:smile: :thumbsup: