user248237
user248237

Reputation:

packaging numpy/scipy and other Python packages with C application?

if I have an application that is written part in Python and has dependencies like numpy and scipy and part in C, how can I package it as an executable (e.g. for Linux) or as a source distribution in a way that does not depend on installing numpy/scipy and other Python modules? ie is it possible to package numpy/scipy into a binary? thanks.

Upvotes: 0

Views: 760

Answers (1)

Pedro Romano
Pedro Romano

Reputation: 11213

If you want a standalone executable, I suggest trying PyInstaller. It is cross-platform (Windows, Linux, MacOS X, ...) and has quite extensive support out-of-the-box for many packages with binary dependencies, including numpy.

Upvotes: 1

Related Questions