Initial commit
This commit is contained in:
47
pyproject.toml
Normal file
47
pyproject.toml
Normal file
@@ -0,0 +1,47 @@
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "applepy"
|
||||
version = "0.1.0"
|
||||
description = "macOS security review and attack-surface scanner"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.11"
|
||||
# PyObjC ships macOS wheels only; it is required for supported (Darwin) installs — see README.
|
||||
dependencies = [
|
||||
"openpyxl>=3.1.0",
|
||||
"pyobjc-core>=10.3.1; platform_system == 'Darwin'",
|
||||
"pyobjc-framework-Cocoa>=10.3.1; platform_system == 'Darwin'",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=8.0",
|
||||
"ruff>=0.6",
|
||||
"ty>=0.0.29",
|
||||
]
|
||||
bundle = [
|
||||
"pyinstaller>=6.0",
|
||||
"pyyaml>=6.0",
|
||||
"xlwt>=1.3.0",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
applepy = "applepy.cli:main"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["applepy"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
target-version = "py311"
|
||||
src = ["applepy", "tests"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "UP", "B"]
|
||||
ignore = ["E501"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
pythonpath = ["."]
|
||||
Reference in New Issue
Block a user