| 1 | [build-system] |
| 2 | requires = ["setuptools>=61.0", "wheel"] |
| 3 | build-backend = "setuptools.build_meta" |
| 4 | |
| 5 | [project] |
| 6 | name = "shtick" |
| 7 | version = "1.0.0" |
| 8 | description = "Shell alias manager - generates shell configuration files from TOML" |
| 9 | readme = "README.md" |
| 10 | authors = [{name = "Matthew Forrester Wolffe", email = "espadonne@outlook.com"}] |
| 11 | license = {text = "MIT"} |
| 12 | requires-python = ">=3.11" |
| 13 | keywords = ["shell", "alias", "bash", "zsh", "fish", "configuration", "dotfiles"] |
| 14 | |
| 15 | classifiers = [ |
| 16 | "Development Status :: 4 - Beta", |
| 17 | "Environment :: Console", |
| 18 | "Intended Audience :: Developers", |
| 19 | "Intended Audience :: System Administrators", |
| 20 | "License :: OSI Approved :: MIT License", |
| 21 | "Operating System :: POSIX", |
| 22 | "Programming Language :: Python :: 3", |
| 23 | "Programming Language :: Python :: 3.11", |
| 24 | "Programming Language :: Python :: 3.12", |
| 25 | "Topic :: System :: Shells", |
| 26 | "Topic :: Utilities", |
| 27 | ] |
| 28 | |
| 29 | # make 'shtick' command available globally |
| 30 | [project.scripts] |
| 31 | shtick = "shtick.cli:main" |
| 32 | |
| 33 | [project.optional-dependencies] |
| 34 | dev = ["pytest", "black", "flake8", "mypy"] |
| 35 | |
| 36 | # Tell setuptools where to find packages |
| 37 | [tool.setuptools.packages.find] |
| 38 | where = ["src"] |
| 39 | |
| 40 | [tool.setuptools.package-dir] |
| 41 | "" = "src" |
| 42 | |
| 43 | |
| 44 | [tool.black] |
| 45 | line-length = 88 |
| 46 | target-version = ['py311'] |
| 47 | |
| 48 | # type checking |
| 49 | [tool.mypy] |
| 50 | python_version = "3.11" |
| 51 | warn_return_any = true |
| 52 | warn_unused_configs = true |