Compare commits
9 Commits
25eae78e76
...
acb99df8b6
Author | SHA1 | Date | |
---|---|---|---|
acb99df8b6 | |||
62808406e6 | |||
a0e72ce264 | |||
27e4a8631c | |||
2bea90ab04 | |||
b8484a326c | |||
e36dc6dd5f | |||
b20f80e85e | |||
815175d84b |
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,6 +4,7 @@
|
|||
/secrets/
|
||||
/private_deps/
|
||||
/data/
|
||||
/config/
|
||||
|
||||
# Python
|
||||
__pycache__/
|
||||
|
|
3
setup.py
3
setup.py
|
@ -15,7 +15,6 @@ PACKAGE_NAME = 'socials_util'
|
|||
with open('README.md') as f:
|
||||
readme = f.read()
|
||||
|
||||
|
||||
def parse_version_file(text: str) -> str:
|
||||
match = re.match(r'^__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
|
||||
if match is None:
|
||||
|
@ -23,11 +22,9 @@ def parse_version_file(text: str) -> str:
|
|||
raise Exception(msg)
|
||||
return match.group(2)
|
||||
|
||||
|
||||
with open(PACKAGE_NAME + '/_version.py') as f:
|
||||
version = parse_version_file(f.read())
|
||||
|
||||
|
||||
def parse_requirements(text: str) -> list[str]:
|
||||
return text.strip().split('\n')
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
__version__ = '0.1.8'
|
||||
__version__ = '0.1.9'
|
Loading…
Reference in New Issue
Block a user