__version__ attribute for compas_rrc package
Closed this issue · 1 comments
inesariza commented
Summary
As a user of the library
, I want to have a __version__
attribute so that I can track errors and post them accordingly in here
.
Details
Describe the feature and the current behavior/state
Now:
>>> import compas_rrc
>>> compas_rrc.__version__
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'compas_rrc' has no attribute '__version__'
How it should look like:
>>> import compas_rrc
>>> compas_rrc.__version__
1.0.0
gonzalocasas commented
Good point. The version is actually there, but it's not being "pulled up" to the top package, I think you can get it with import compas_rrc.__version__;print(compas_rrc.__version__.__version__)
but we should fix and bring it to the top-level package