Skip to content

Commit 3cf080d

Browse files
authored
🐛/🔖 change version string location & bump version (#430)
1 parent 5b01578 commit 3cf080d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

bibtexparser/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
from bibtexparser.entrypoint import parse_file, parse_string, write_file, write_string
55
from bibtexparser.library import Library
66
from bibtexparser.writer import BibtexFormat
7+
8+
__version__ = "2.0.0b5"

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
#!/usr/bin/env python
22
import setuptools
33

4-
version = "2.0.0b4"
4+
version = None
55

66
with open("bibtexparser/__init__.py") as fh:
77
for line in fh:
88
if line.startswith("__version__"):
99
version = line.strip().split()[-1][1:-1]
1010
break
11+
if not version:
12+
raise RuntimeError("Could not determine version")
1113

1214

1315
def load_readme():

0 commit comments

Comments
 (0)