diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..a4c2da3 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,61 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "dev-env-sync" +version = "0.1.0" +description = "A declarative YAML-based CLI tool to manage, sync, and automate developer environment setup" +readme = "README.md" +license = {text = "MIT"} +requires-python = ">=3.8" +authors = [ + {name = "Dev Env Sync Contributors"} +] +keywords = ["developer", "environment", "sync", "dotfiles", "cli", "automation"] +classifiers = [ + "Development Status :: 4 - Beta", + "Environment :: Console", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: POSIX :: Linux", + "Operating System :: POSIX :: macOS", + "Operating System :: Microsoft :: Windows :: WSL", + "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", + "PyYAML>=6.0", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0", + "pytest-cov>=4.0", + "black>=23.0", + "ruff>=0.1.0", +] + +[project.scripts] +dev-env-sync = "dev_env_sync.cli.main:main" + +[tool.setuptools.packages.find] +where = ["."] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"] +addopts = "-v --tb=short" + +[tool.coverage.run] +source = ["dev_env_sync"] +omit = ["tests/*"] + +[tool.coverage.report] +exclude_lines = ["pragma: no cover", "def __repr__", "raise NotImplementedError"]