From 3d28f002e3f9834630697487a5460eff03809ca7 Mon Sep 17 00:00:00 2001 From: Grant Ramsay Date: Tue, 25 Jul 2023 21:31:23 +0100 Subject: [PATCH] Update TODO and PyPi Classifiers Signed-off-by: Grant Ramsay --- TODO.md | 11 +++++------ py_maker/tests/__init__.py | 0 pyproject.toml | 29 ++++++++++++++++++++++++----- 3 files changed, 29 insertions(+), 11 deletions(-) create mode 100644 py_maker/tests/__init__.py diff --git a/TODO.md b/TODO.md index 5baeda02..6f56727a 100644 --- a/TODO.md +++ b/TODO.md @@ -2,9 +2,8 @@ - Add testing with [Pytest](https://pytest.org) - Add a documentation website using [MkDocs](https://mkdocs.org) - -## Dependencies - -- Create PR for [Rich](https://rich.readthedocs.io) for my changes to the - `Prompt` class and hopefully get them merged. This is needed before the App - can be published on [PyPi](https://pypi.org) +- Add option to generate a skeleton MkDocs website for the new project +- Implement saving settings to a file (Name, Email, Default License, etc.) Have + a new command to create and edit the settings +- Ask for more settings ie homepage, repo, etc. and add them to the generated + `pyproject.toml` file (if the new project is likely to be uploaded to PyPI) diff --git a/py_maker/tests/__init__.py b/py_maker/tests/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyproject.toml b/pyproject.toml index 908cf3c5..5848b7b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,26 @@ authors = ["Grant Ramsay "] readme = "README.md" license = "MIT" -packages = [{include = "py_maker"}] +repository = "https://github.com/seapagan/py-maker" +homepage = "https://seapagan.github.io/seapagan/py-maker" + +classifiers = [ + "Development Status :: 4 - Beta", + "Environment :: Console", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Software Development", + "Topic :: Software Development :: Code Generators", + "Topic :: Utilities", +] + +packages = [{ include = "py_maker" }] [tool.poetry.urls] "Pull Requests" = "https://github.com/seapagan/py-maker/pulls" @@ -17,7 +36,7 @@ pymaker = "py_maker.main:app" [tool.poetry.dependencies] python = ">=3.9,<4.0" -typer = {extras = ["all"], version = "^0.9.0"} +typer = { extras = ["all"], version = "^0.9.0" } jinja2 = "^3.1.2" gitpython = "^3.1.32" tomli = "^2.0.1" @@ -69,7 +88,7 @@ mypy = "mypy **/*.py" flake8 = "flake8 **/*.py" black = "black **/*.py" try = "tryceratops **/*.py" -lint = ["black","flake8","pylint","mypy", "try"] +lint = ["black", "flake8", "pylint", "mypy", "try"] # configure assorted tools and linters [tool.isort] @@ -93,8 +112,8 @@ exclude = ''' [tool.flake8] max-line-length = 80 exclude = ["__init__.py", ".git"] -extend-ignore=["E203", "W503"] -extend-select=["TC", "TC1", "TRY"] +extend-ignore = ["E203", "W503"] +extend-select = ["TC", "TC1", "TRY"] docstring-convention = "google" type-checking-pydantic-enabled = true