From 8f8dd74c14b7cada91447a7306c7d28cbc2d38ec Mon Sep 17 00:00:00 2001 From: Ilya Date: Wed, 28 Feb 2024 16:56:44 +0300 Subject: [PATCH] Better structure --- .gitignore | 4 +++- pyproject.toml | 19 +++++++++++++++++++ main.py => tvms/__init__.py | 0 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 pyproject.toml rename main.py => tvms/__init__.py (100%) diff --git a/.gitignore b/.gitignore index 18d920b..a96a8f8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ .idea/ venv/ result/ - +build/ +*.egg-info +__pycache__ diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..e34bb90 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,19 @@ +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "tvms" +version = "1.0.0" +authors = [{name="Ilya Bezrukov", email="bezrukoff888@gmail.com" }] +description = "Script collection for TVMS" +readme = "README.md" +dependencies = ["python-docx", "click"] +requires-python = ">=3.10" + +[project.scripts] +tvms = "tvms:cli" + +[project.urls] +"Homepage" = "https://git.ilbz.ru/brinza/tvms" +"Bug Tracker" = "https://git.ilbz.ru/brinza/tvms/issues" diff --git a/main.py b/tvms/__init__.py similarity index 100% rename from main.py rename to tvms/__init__.py