Advice on distributing a project

Langer, Stephen A. (Fed) stephen.langer at nist.gov
Thu Jun 28 15:18:27 UTC 2018



´╗┐On 6/28/18, 11:12 AM, "macports-users on behalf of Langer, Stephen A. (Fed)" <macports-users-bounces at lists.macports.org on behalf of stephen.langer at nist.gov> wrote:





    On 6/28/18, 5:39 AM, "Joshua Root" <jmr at macports.org> wrote:



        On 2018-6-28 18:54 , Ryan Schmidt wrote:

        >

        > macOS has been around for over 17 years. It would be weird if in all that time Python hasn't developed an easy way to create correct dylibs. My assumption therefore is that such an easy method does exist, I just don't know what it is since I'm not very familiar with Python.



        Python (or specifically distutils) generally has no need to create

        dylibs; it's only concerned with building extension modules, which on

        macOS are mach-o bundles.



    Most if not all of our modifications and extensions to distutils are due to that.   We have many python extension modules, each of which links to one or more shared libraries, each of which is built from many C++ sources.   We tried to contact the distutils developers when we started using it, 10 or 15 years ago, but they were uninterested in adding shared library support or in helping us add it.



I meant to add a link to our distutils source, if anyone's interested: https://github.com/usnistgov/OOF3D/tree/macports-packaging/shlib

The master branch doesn't yet have the latest modifications.

 -- Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180628/60c35082/attachment.html>


More information about the macports-users mailing list