Skip to content

[Python] pypi packages compatible with setuptools #17378

@asfimport

Description

@asfimport

setuptools is internally using easy_install for pulling packages from pypi. easy_install doesn't support wheel so since pyarrow is in pypi distributed only as wheels it is not possible to package a product depending on pyarrow using setuptools.

see attached setup.py:

$ python setup.py test
running test
Searching for pyarrow==0.5.0.post2
Reading https://pypi.python.org/simple/pyarrow/
No local packages or working download links found for pyarrow==0.5.0.post2
error: Could not find suitable distribution for Requirement.parse('pyarrow==0.5.0.post2')

It's a shame setuptools don't support wheels. unfortunately it supports only eggs or raw source packages (see distro_for_location). I am not suggesting providing eggs but perhaps publishing raw tar.gz should be considered so that setuptools can at least build the dependency itself.

Reporter: Antony Mayi / @antonymayi

Original Issue Attachments:

Note: This issue was originally created as ARROW-1346. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions