I'm trying to include shared libraries (built by scons invoked from my setup.py script) into built eggs. I can do this just fine with the package_data command, but then the egg isn't known to be platform dependent. This is somewhat puzzling, because setuptools notices the library and lists it in .egg-info/native_libs.txt. Perhaps this is expected behavior because, in theory, I could include pre-built native libraries of more than one platform, or the native libraries might only be required on one platform.
This leads me to the bdist_egg --plat-name option, which doesn't seem to work in this case. "python setup.py bdist_egg --plat-name=abc" doesn't produce an .egg with "abc" in the filename. This is apparently because setuptools thinks the egg doesn't contain C extensions. Perhaps the solution to this issue is to tell setuptools "yes, I did build C extensions". How would I achieve this? Any suggestions? -Andrew _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
