Use setuptools_scm for versioning through git tags

This commit is contained in:
JustAnotherArchivist
2019-07-01 17:13:13 +00:00
parent b698a201f5
commit e6aae35304
3 changed files with 15 additions and 3 deletions

7
snscrape/version.py Normal file
View File

@@ -0,0 +1,7 @@
import pkg_resources
try:
__version__ = pkg_resources.get_distribution('snscrape').version
except pkg_resources.DistributionNotFound:
__version__ = None