Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust setup.py for MacOS wheel dist #778

Merged
merged 2 commits into from
Oct 22, 2019
Merged

Adjust setup.py for MacOS wheel dist #778

merged 2 commits into from
Oct 22, 2019

Conversation

sc1f
Copy link
Contributor

@sc1f sc1f commented Oct 21, 2019

This PR allows us to build a portable wheel distribution for OSX:

  • Our binaries depend on @rpath, which is set relative to the build location of the binary. This causes a problem when distributing to PyPi/installing from pip. In setup.py, we adjust the install names of the built binary to reference @loader_path, i.e. relative to the actual location of the binary download.
  • Pin pyarrow in our requirements. This means that TBB is the only system requirement that needs to be installed from brew/build from source.
  • Fix bumpversion config
  • Fix manifest - graft source files and not tests

@timkpaine timkpaine added enhancement Feature requests or improvements Python labels Oct 21, 2019
@timkpaine
Copy link
Member

looks good!

@texodus texodus merged commit 56b9064 into master Oct 22, 2019
@texodus
Copy link
Member

texodus commented Oct 22, 2019

Thanks for the PR!

@texodus texodus deleted the wheel branch October 22, 2019 01:15
@texodus texodus added internal Internal refactoring and code quality improvement and removed enhancement Feature requests or improvements labels Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Internal refactoring and code quality improvement Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants