Skip to content

Add option to only get the "source" distribution of packages. #90

@tdruez

Description

@tdruez
python-inspector --spec lxml --json -

Returns 3 duplicated packages pkg:pypi/[email protected] except for the download_url:

We should add a new option --prefer-source that would only return source distributions of packages.
This should be available in the API as well, not only in the CLI.


Also, there's over 70 binaries distributions available at https://pypi.org/project/lxml/#files for this version of lxml 4.9.1
It seems arbitrary that the tool decided to only resolve for Python 38 on linux.

A better default would be to only return the source packages, and to force the user to be explicit about the --python-version and --operating-system.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions