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

Missing __version__ attribute #22

Closed
rasbt opened this issue Feb 14, 2017 · 2 comments
Closed

Missing __version__ attribute #22

rasbt opened this issue Feb 14, 2017 · 2 comments

Comments

@rasbt
Copy link

rasbt commented Feb 14, 2017

Hi there,
I just noticed that missingno does not import the __version__ attribute properly, which causes the following problem:

>>> import missingno
>>> missingno.__version__
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-5-dc94dfc5cf5c> in <module>()
      1 import missingno
      2 
----> 3 missingno.__version__

AttributeError: module 'missingno' has no attribute '__version__'

Not sure how you think about it, but I think it would be useful to move the __version__ attribute to __init__ so that users can import and check the __version__ of the missingno package that they are currently using.

@ResidentMario
Copy link
Owner

Should be (re)fixed now in the 0.3.4 release, cf. watermark#27, #19, my own clumsiness.

@rasbt
Copy link
Author

rasbt commented Feb 14, 2017

Wow, that was quick, thanks! :)

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

2 participants