Skip to content

pip install fails with setuptools error #65

@iamdonovan

Description

@iamdonovan

rgitools fails to install using pip in environments with newer versions of setuptools, due to a conflict with PEP440:

image

I was able to fix this by changing changing line 86 from this:

FULLVERSION = rev.lstrip('v').replace(VERSION + '-', VERSION + '+')

to this:

FULLVERSION = rev.lstrip('v').replace(VERSION + '-', VERSION + '+').replace('-', '+', 1)

This fixes the version number error, and rgitools installs as expected:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions