Make sure __version__ is defined (fix #380)
This commit is contained in:
@@ -40,7 +40,7 @@ try:
|
||||
__version__ = get_distribution(__name__).version
|
||||
except DistributionNotFound:
|
||||
# package is not installed
|
||||
pass
|
||||
__version__ = None
|
||||
|
||||
__url__ = 'https://github.com/saimn/sigal'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user