Compare commits
No commits in common. "b7310e2ed84e8802ee96be5c2c2428175725e2a3" and "943f485bf5333f36a809e9d5c69825e58fc44c61" have entirely different histories.
b7310e2ed8
...
943f485bf5
|
@ -1 +1 @@
|
|||
__version__ = '0.1.35'
|
||||
__version__ = '0.1.34'
|
||||
|
|
3
setup.py
3
setup.py
|
@ -24,8 +24,7 @@ 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:
|
||||
text = re.sub('^#.*', '', text, flags=re.MULTILINE)
|
||||
match = re.match(r'^\s*__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
|
||||
match = re.match(r'^__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