Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conda packaging - version is not set #36

Open
oesteban opened this issue Oct 11, 2021 · 0 comments
Open

Conda packaging - version is not set #36

oesteban opened this issue Oct 11, 2021 · 0 comments

Comments

@oesteban
Copy link

The conda package does not set a version:

>>> import etelemetry
>>> etelemetry.__version__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'etelemetry' has no attribute '__version__'

or

$ pip show etelemetry
Name: etelemetry
Version: 0+unknown
Summary: Etelemetry python client API
Home-page: https://github.com/sensein/etelemetry-client
Author: Senseable Intelligence Group
Author-email:
License: Apache License, 2.0
Location: /opt/conda/lib/python3.8/site-packages
Requires: requests, ci-info
Required-by: nipype

When installed through pip, although the dunder __version__ remains undefined, at least pip knows how to retrieve the version metadata:

$ pip show etelemetry
Name: etelemetry
Version: 0.2.2
Summary: Etelemetry python client API
Home-page: https://github.com/sensein/etelemetry-client
Author: Senseable Intelligence Group
Author-email:
License: Apache License, 2.0
Location: /opt/conda/lib/python3.8/site-packages
Requires: ci-info, requests
Required-by: nipype
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant