Skip to content

Cannot build cmake if package versioneer is installed #171

Closed
@bennuttall

Description

@bennuttall

I tried to build cmake and I experienced this error:

File "setup.py", line 33, in <module>
      version=versioneer.get_version(),
  AttributeError: module 'versioneer' has no attribute 'get_version'

I have the library versioneer installed it's importing that. But the versioneer module doesn't have a get_version() function.

I discovered is that import versioneer in cmake's setup.py does not intend to import this library, it is supposed to import a file called versioneer.py.

Unfortunately this means you can't build cmake if you have the library versioneer installed.

FYI I discovered this as it was reported that recent versions of cmake were missing from the piwheels index. The issue was reported here: piwheels/packages#227

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