diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b6c5bde --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,57 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "gitignore-generator-cli" +version = "1.0.0" +description = "A CLI tool that generates .gitignore files by specifying technologies/frameworks" +readme = "README.md" +license = {text = "MIT"} +requires-python = ">=3.8" +authors = [ + {name = "gitignore-generator-cli", email = "dev@example.com"} +] +keywords = ["gitignore", "cli", "git", "generator"] +classifiers = [ + "Development Status :: 4 - Beta", + "Environment :: Console", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "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", +] +dependencies = [ + "click>=8.0.0", + "requests>=2.25.0", + "pyyaml>=6.0", +] + +[project.scripts] +gitignore-generator = "gitignore_generator.cli:main" +gitignore-gen = "gitignore_generator.cli:main" + +[project.optional-dependencies] +dev = [ + "pytest>=7.0.0", + "pytest-cov>=4.0.0", + "pytest-mock>=3.10.0", +] + +[tool.setuptools.packages.find] +where = ["."] +include = ["gitignore_generator*"] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_classes = ["Test*"] +python_functions = ["test_*"] +addopts = "-v --cov=gitignore_generator --cov-report=term-missing" + +[tool.setuptools.dynamic] +version = {attr = "gitignore_generator.__version__"}