- commit
- 6a1db89ae43453fba7aac71d69f703a62b9ccd0e
- parent
- 49d50451dc8c179616645febfc53380052d1816d
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-07-23 04:18
add pyproject.toml
Diffstat
| A | .gitignore | 2 | ++ |
| A | pyproject.toml | 26 | ++++++++++++++++++++++++++ |
| M | sheet/__main__.py | 6 | +++++- |
3 files changed, 33 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1,2 @@ -1 1 build -1 2 dist
diff --git a/pyproject.toml b/pyproject.toml
@@ -0,0 +1,26 @@
-1 1 [build-system]
-1 2 requires = ["setuptools"]
-1 3 build-backend = "setuptools.build_meta"
-1 4
-1 5 [project]
-1 6 name = "spreadsheet"
-1 7 version = "0.0.0"
-1 8 description = " terminal spreadsheet application "
-1 9 readme = "README.md"
-1 10 license = {text = "MIT"}
-1 11 authors = [
-1 12 {name = "Tobias Bengfort", email = "tobias.bengfort@posteo.de"}
-1 13 ]
-1 14 dependencies = [
-1 15 "boon-term",
-1 16 "wcwidth",
-1 17 ]
-1 18
-1 19 [project.urls]
-1 20 Homepage = "https://github.com/xi/spreadsheet"
-1 21
-1 22 [project.scripts]
-1 23 sheet = "sheet.__main__:main"
-1 24
-1 25 [tool.setuptools]
-1 26 packages = ["sheet"]
diff --git a/sheet/__main__.py b/sheet/__main__.py
@@ -238,7 +238,7 @@ def get_parser(): 238 238 return parser 239 239 240 240241 -1 if __name__ == '__main__':-1 241 def main(): 242 242 args = get_parser().parse_args() 243 243 if args.eval: 244 244 if not args.path: @@ -250,3 +250,7 @@ if __name__ == '__main__': 250 250 else: 251 251 app = App(args.path) 252 252 app.run() -1 253 -1 254 -1 255 if __name__ == '__main__': -1 256 main()