gawel / aiocron

Crontabs for asyncio
MIT License
338 stars 20 forks source link

AttributeError: module 'aiocron' has no attribute '__version__' #16

Closed nikhilshinday closed 3 years ago

nikhilshinday commented 4 years ago

not really a big deal, but it would be nice for the version to be transparent and abide by the python interace

gawel commented 4 years ago

I'm against those attributes. You can get the version using setuptools:

import pkg_resources
pkg_resources.get_distribution('aiocron').version