Compare commits
3 Commits
943f485bf5
...
b7310e2ed8
Author | SHA1 | Date | |
---|---|---|---|
b7310e2ed8 | |||
96881d33d2 | |||
e585d16828 |
|
@ -1 +1 @@
|
|||
__version__ = '0.1.34'
|
||||
__version__ = '0.1.35'
|
||||
|
|
3
setup.py
3
setup.py
|
@ -24,7 +24,8 @@ PACKAGE_DESCRIPTION_SHORT = """
|
|||
Utility for standarized usage of HTTP requests extension libraries in a modular fashion across different libraries.""".strip()
|
||||
|
||||
def parse_version_file(text: str) -> str:
|
||||
match = re.match(r'^__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
|
||||
text = re.sub('^#.*', '', text, flags=re.MULTILINE)
|
||||
match = re.match(r'^\s*__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
|
||||
if match is None:
|
||||
msg = 'Malformed _version.py file!'
|
||||
raise Exception(msg)
|
||||
|
|
Loading…
Reference in New Issue
Block a user