Skip to content

Packaging improvements #870

Open
Open
@webknjaz

Description

@webknjaz

Hi, have you considered using setuptools-scm plugin?

It'd automagically replace git ls-files logic in setup.py and it can also add a single source of truth for storing dist version.
With it, you'd use Git tags and wouldn't have to manually hardcode the version in two places https://github.com/libgit2/pygit2/blob/master/pygit2/_build.py#L40 / https://github.com/libgit2/pygit2/blob/master/.travis.sh#L5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions