Move encryptConfig.py from root to src/config_man/encrypt_config.py, update imports to use package path, and add console script entry point. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
113 lines
2.4 KiB
TOML
113 lines
2.4 KiB
TOML
[project]
|
|
name = "config-man"
|
|
version = "0.1.0"
|
|
description = "CLI tool for managing encrypted configuration files"
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
authors = [
|
|
{name = "Config-Man Team", email = "team@config-man.com"}
|
|
]
|
|
license = {text = "MIT"}
|
|
keywords = ["cli", "config", "encryption", "cdn", "storage"]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Topic :: System :: Systems Administration",
|
|
]
|
|
dependencies = [
|
|
"click>=8.0.0",
|
|
"pycryptodome>=3.19.0",
|
|
"tabulate>=0.9.0",
|
|
"requests>=2.31.0",
|
|
"rich>=13.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-cov>=4.0.0",
|
|
"black>=23.0.0",
|
|
"flake8>=6.0.0",
|
|
"mypy>=1.0.0",
|
|
]
|
|
test = [
|
|
"pytest>=7.0.0",
|
|
"pytest-cov>=4.0.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
config-man = "config_man.cli.main:main"
|
|
config-man-encrypt = "config_man.encrypt_config:main"
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/config-man/config-man"
|
|
Documentation = "https://config-man.readthedocs.io"
|
|
Repository = "https://github.com/config-man/config-man"
|
|
Issues = "https://github.com/config-man/config-man/issues"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/config_man"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
addopts = [
|
|
"--strict-markers",
|
|
"--strict-config",
|
|
"--cov=src/config_man",
|
|
"--cov-report=term-missing",
|
|
"--cov-report=html",
|
|
]
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
target-version = ['py313']
|
|
include = '\.pyi?$'
|
|
extend-exclude = '''
|
|
/(
|
|
# directories
|
|
\.eggs
|
|
| \.git
|
|
| \.hg
|
|
| \.mypy_cache
|
|
| \.tox
|
|
| \.venv
|
|
| build
|
|
| dist
|
|
)/
|
|
'''
|
|
|
|
[tool.mypy]
|
|
python_version = "3.13"
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
disallow_untyped_defs = true
|
|
disallow_incomplete_defs = true
|
|
check_untyped_defs = true
|
|
disallow_untyped_decorators = true
|
|
no_implicit_optional = true
|
|
warn_redundant_casts = true
|
|
warn_unused_ignores = true
|
|
warn_no_return = true
|
|
warn_unreachable = true
|
|
strict_equality = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = [
|
|
"click.*",
|
|
"rich.*",
|
|
"requests.*",
|
|
"Crypto.*",
|
|
]
|
|
ignore_missing_imports = true
|