Depending on external library

Jeroen Demeyer <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <[email protected]>
Hello,

I have a Python project that depends on an external C library (which is 
unrelated to Python and NOT part of the OS).

For an sdist, this is easy: my setup.py assumes that the library is 
pre-installed somewhere on the system where setuptools can find it.

However, is there a standard solution for packaging such a project as 
wheel? Ideally, the project should "just work" when doing pip install on 
it, which means that the external library should somehow be bundled in 
the wheel.

I know that for example numpy does that, but it also has a very 
complicated build system (containing a fork of distutils!).

Does anybody know any pointers for this? Or if you think that this is a 
minefield which is not really supported, feel free to say so.


Thanks,
Jeroen.
--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/archives/list/[email protected]/message/6RZVKM5YQVAAOR5ENDS34HH5VFXHZ22G/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.