-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-5082: [Python] Stop exporting copies of shared libraries in wheel #4577
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -499,11 +499,6 @@ def _move_shared_libs_unix(build_prefix, build_lib, lib_name): | |
| lib_filename = os.path.basename(libs[0]) | ||
| shutil.move(pjoin(build_prefix, lib_filename), | ||
| pjoin(build_lib, 'pyarrow', lib_filename)) | ||
| for lib in libs[1:]: | ||
| filename = os.path.basename(lib) | ||
| link_name = pjoin(build_lib, 'pyarrow', filename) | ||
| if not os.path.exists(link_name): | ||
| os.symlink(lib_filename, link_name) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If the user wants to link a C++ library to the libarrow that is bundled with wheels, will it still work if there is only
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tensorflow is doing the same. Downstream users might need to add something to their linker commands though.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Side note, when I extracted the tensorflow packages, I noted they used the versionless path. |
||
|
|
||
|
|
||
| # If the event of not running from a git clone (e.g. from a git archive | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any documentation about this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pyarrow Debian package doesn't exist.
Source distribution is needed to use pyarrow with libarrow Debian package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you care to explain, I'm missing some pieces. My comment was regarding uwe comment on zulip.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In any case, I'm not sure why this needs to be here. Anyone can build a source distribution from scratch (as the name suggests, it just packages source code together).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This gives us a reproducible and controlled environment to build a source tarball. You still need the right versions of setuptools amd friends to actually support Markdown in the description field of the package information.