This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vajda
Recipients pje, vajda
Date 2008-09-11.02:30:12
SpamBayes Score 4.09631e-07
Marked as misclassified No
Message-id <>
setuptools is growing the capability to build regular shared libraries
(as opposed to python extensions). JCC
( uses this
capability to build the JCC runtime into a regular shared library shared
by all python extensions it builds and by programs embedding python
(such as a Java VM when running JCC-built eggs from Apache Tomcat).

This bug is about adding another option to the setuptools Library class
called force_shared which forces setuptools to create a shared library
from a Library instance even though the dl module may not be present to
generate stubs. This is important on Linux. Note that using this flag
then implies that the library itself is responsible for calling        
dlopen(buf, RTLD_NOW | RTLD_GLOBAL) on the relevant before
initializing the python runtime is initialized.

A patch against the setuptools 0.6 branch svn is attached.
The idea for this patch came from a conversation on IRC:
Date User Action Args
2008-09-11 02:30:14vajdasetrecipients: + vajda, pje
2008-09-11 02:30:14vajdasetmessageid: <>
2008-09-11 02:30:13vajdalinkissue3832 messages
2008-09-11 02:30:12vajdacreate