Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Move native extension inside module #113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wyattanderson
Copy link

The goal here is to address this issue with delocate, so that we can internally distribute relocatable binary wheels for OS X:

matthew-brett/delocate#12 (comment)

I've tested a little bit locally, but would love assistance testing more substantially. I'm not very familiar with Python packaging when it comes to native extensions.

@ovalhub
Copy link
Owner

ovalhub commented Oct 18, 2019 via email

@wyattanderson
Copy link
Author

Sorry for the confusion here; I rushed this out without enough of a description.

The problem I'm running into is when building and installing a wheel, not an egg: the _icu.so file ends up installed in the root of site-packages alongside the icu/ directory, which prevents delocate from modifying it. The motivation for this change is to ensure that when a PyICU wheel is installed, that the _icu.so file is installed inside the icu/ directory instead. Does that make sense? I can try and clarify further if necessary.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants