From b7f28bd743ecf1b09d30b2f71aa03ed1364dffb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrkan=20G=C3=BCr?= Date: Tue, 9 Aug 2022 14:32:11 +0200 Subject: [PATCH] buildPythonApplication flake poetry2nix fuckThisFlakeShit thisIsWhyNooneUsesNix --- README.md | 6 +++--- poetry.lock | 14 +------------- pyproject.toml | 4 +++- 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index b4e6127..5678d40 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,9 @@ ### To do 😉 -- [ ] Add zsh completion -- [ ] Support projects with spaces in their names -- [ ] Add a flake for easy installing +- Add zsh completion +- Support projects with spaces in their names +- ~~Add a flake for easy installing~~ Fuck that shit, broken. ### Usage diff --git a/poetry.lock b/poetry.lock index 45254dc..77a7179 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,11 +1,3 @@ -[[package]] -name = "argparse" -version = "1.4.0" -description = "Python command-line parsing library" -category = "main" -optional = false -python-versions = "*" - [[package]] name = "attrs" version = "21.4.0" @@ -144,13 +136,9 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] [metadata] lock-version = "1.1" python-versions = "^3.8" -content-hash = "2f1e33d644c882269e23de2eb496a6639bbf910dcc4877f755e4633f3d3baab0" +content-hash = "83a7909fd74ea8548acbae4ef3f45b388834649c3580cc9070c8f41f02b329a4" [metadata.files] -argparse = [ - {file = "argparse-1.4.0-py2.py3-none-any.whl", hash = "sha256:c31647edb69fd3d465a847ea3157d37bed1f95f19760b11a47aa91c04b666314"}, - {file = "argparse-1.4.0.tar.gz", hash = "sha256:62b089a55be1d8949cd2bc7e0df0bddb9e028faefc8c32038cc84862aefdd6e4"}, -] attrs = [ {file = "attrs-21.4.0-py2.py3-none-any.whl", hash = "sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4"}, {file = "attrs-21.4.0.tar.gz", hash = "sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd"}, diff --git a/pyproject.toml b/pyproject.toml index 0989c01..011ee9c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,6 @@ license = "AGPL-3" python = "^3.8" todoist-api-python = "^1.1.1" rich = "^12.4.4" -argparse = "^1.4.0" PyYAML = "^6.0" [tool.poetry.dev-dependencies] @@ -17,3 +16,6 @@ PyYAML = "^6.0" [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" + +[tool.poetry.scripts] +run = "sakla.sakla:main"