Skip to content

Commit 3a44ad8

Browse files
authored
Merge pull request #17 from CocoRoF/main
Remove hardcoded version and handle missing package version gracefully
2 parents 649e958 + 280868b commit 3a44ad8

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

contextifier/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,12 @@
3131
chunks = processor.extract_chunks("document.pdf", chunk_size=1000)
3232
"""
3333

34-
__version__ = "2.0.0-alpha"
35-
3634
from importlib.metadata import version, PackageNotFoundError
3735

3836
try:
3937
__version__ = version("contextifier")
4038
except PackageNotFoundError:
41-
pass
39+
__version__ = "0.0.0-dev"
4240

4341
from contextifier.document_processor import DocumentProcessor
4442

0 commit comments

Comments
 (0)