mirror of
https://github.com/bellingcat/snscrape.git
synced 2026-06-12 12:28:28 +03:00
Use setuptools_scm for versioning through git tags
This commit is contained in:
7
snscrape/version.py
Normal file
7
snscrape/version.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import pkg_resources
|
||||
|
||||
|
||||
try:
|
||||
__version__ = pkg_resources.get_distribution('snscrape').version
|
||||
except pkg_resources.DistributionNotFound:
|
||||
__version__ = None
|
||||
Reference in New Issue
Block a user