another better solution may be to use: distutils but I don't really know how it works ...