Skip to content

PyPI package does not export version correctly #5

@drjerry

Description

@drjerry

I have successfully installed the 1.0 package using pip install, but it is not reported by freeze:

$ python -c "import consistent_hash"
$ pip freeze |grep consistent_hash
$

Also, possibly unrelated, the package does not export its version:

$ python -c "import consistent_hash; print consistent_hash.__version__"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute '__version__'

Obviously this is minor, but this causes issues with configuration management systems (like Puppet) which verify presence of Python packages using pip freeze.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions