Skip to content

Commit

Permalink
fix: viur 2-to-3 script
Browse files Browse the repository at this point in the history
  • Loading branch information
akelch committed Sep 23, 2022
1 parent d76dfcb commit 9b0766a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog

This file documents any relevant changes.
## [0.7.4] - 2022-09-23
- fix: 2-to-3 script was broken

## [0.7.3] - 2022-09-16
- feat: added 2-to-3 script
- fix: proejctname enforces lowercase
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"setuptools>=65",
"wheel"
]
build-backend = "setuptools.build_meta"
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ where = src
[options.entry_points]
console_scripts =
viur = viur_cli:cli
viur-2to3 = viur_cli.scripts.viur-2to3:main
viur-2to3 = viur_cli.scripts.viur_2to3:main
flare = viur_cli.scripts.flare:main
get-pyodide = viur_cli.scripts.get_pyodide:main
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
f"{name}Bone": f"{name[0].upper()}{name[1:]}Bone" for name in bones
})

if __name__ == "__main__":
def main():
# Get arguments
ap = argparse.ArgumentParser(
description="ViUR2-to-ViUR3 porting tool"
Expand Down Expand Up @@ -116,3 +116,6 @@
)
)
)

if __name__ == "__main__":
main()
2 changes: 1 addition & 1 deletion src/viur_cli/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.7.3"
__version__ = "0.7.4"

0 comments on commit 9b0766a

Please sign in to comment.