Skip to content

Dev utility: build and download the sdist and wheels of a single package and all its dependencies #2087

Description

@pombredanne

As a developer of ScanCode, I want to download and or build as needed the wheels and sources of a given package or package/version. For this I expect to call a command line tool that would accept a package name or name==version as an argument and a target directory where the built wheels and tarballs would be downloaded.

As an output of this command, I expect to find in the target directory:

  1. pre-built wheels
    1.1. either one for each OS/Python version combo when the wheel contains native
    1.2. or one for each Python version if the wheel is Python-specific but not OS-specific
    1.3 or one for each OS if the wheel is OS-specific but not Python-specific

  2. the corresponding source tarball or zip for each wheel (unless the wheel is a pure Python wheel that contains all its source code in which case this may not be needed)

  3. one .ABOUT file for each wheel or source tarball/zip with all found details and URL
    NB: Since there is no place to download that from , it may need to be created from scratch as a placeholder empty file? TBD

  4. corresponding NOTICE and LICENSE files
    NB: Since there is no place to download that from, it may need to be created from scratch as a placeholder empty file? TBD

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions