From 892140c31325069e6ace5586bc02bef968bd54ab Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Fri, 29 Mar 2024 20:46:15 +0100 Subject: [PATCH] Init python project --- .gitignore | 1 + README.md | 24 ++++++++++++++++++++++++ pyproject.toml | 17 +++++++++++++++++ triditko/__init__.py | 1 + triditko/__main__.py | 5 +++++ 5 files changed, 48 insertions(+) create mode 100644 README.md create mode 100644 pyproject.toml create mode 100644 triditko/__init__.py create mode 100644 triditko/__main__.py diff --git a/.gitignore b/.gitignore index 8c27ae8..0cbf4e3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ !.gitignore /venv/ +__pycache__/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..ba33aae --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +A PyGame powered tool for quickly sorting stuff into categories +========== + +This is a simple tool that will somehow present items of various types and +allow categorising them interactively. + +Usage +----- + +`./TODO pygame.Surface: ... +``` + +The renderer is passed as the fully qualified class name (i.e. if that code is +in file `renderers.py`, pass `renderers.Whatever`) diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..03337a8 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,17 @@ +[project] +name = 'triditko' +description = 'A PyGame powered tool for quickly sorting stuff into categories' +dynamic = ['version'] +readme = './README.md' + +# Maybe relax requirement later, idk what I use. +requires-python = '~=3.11' +dependencies = [ +] + +[project.gui-scripts] +triditko = 'triditko.__main__:main' + +[build-system] +requires = ['flit_core >=3.2,<4'] +build-backend = 'flit_core.buildapi' diff --git a/triditko/__init__.py b/triditko/__init__.py new file mode 100644 index 0000000..da63cc8 --- /dev/null +++ b/triditko/__init__.py @@ -0,0 +1 @@ +__version__ = '0.0.1a1' diff --git a/triditko/__main__.py b/triditko/__main__.py new file mode 100644 index 0000000..830f59d --- /dev/null +++ b/triditko/__main__.py @@ -0,0 +1,5 @@ + +def main(): + print('hi') + +if __name__ == '__main__': main()