You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version is declared in init, and parsed with a regex in setup.py. You can make it cleaner byt declaring the version in setup.py normally, and add this to init :
try:
__version__ = get_distribution('crossbar').version
except DistributionNotFound:
__version__ = ('Unable to read this module metadata. ',
'Check manually the setup.py file for version.')
The text was updated successfully, but these errors were encountered:
No, this is by design: get_distribution only works for installed Python packages, e.g. not when running from a directory (importing directly without installation).
Version is declared in init, and parsed with a regex in setup.py. You can make it cleaner byt declaring the version in setup.py normally, and add this to init :
The text was updated successfully, but these errors were encountered: