Files
pyisolate/pyproject.toml
zeekay 8f81ec5ef1 rebrand: Hanzo AI Inc — full rebrand from ComfyUI/Comfy-Org
- Updated copyright to Hanzo AI, Inc.
- Replaced ComfyUI references with Hanzo Studio
- Updated GitHub org URLs (Comfy-Org → hanzoui)
- Updated domains (comfy.org → hanzo.ai)
- Updated package names and npm scopes
- Updated LICENSE with Hanzo AI copyright header
2026-02-23 10:55:43 -08:00

133 lines
3.8 KiB
TOML

[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pyisolate"
version = "0.9.0"
description = "A Python library for dividing execution across multiple virtual environments"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Jacob Segal", email = "[email protected]"},
]
maintainers = [
{name = "Jacob Segal", email = "[email protected]"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
keywords = ["virtual environment", "venv", "development"]
dependencies = [
"uv>=0.1.0",
"tomli>=2.0.1; python_version < '3.11'",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"pytest-asyncio>=0.21.0",
"mypy>=1.0",
"pre-commit>=3.0",
"ruff>=0.11.0",
"pyyaml>=5.4.0", # Only for test manifest creation
"importlib-metadata>=4.0.0", # For type checking
]
test = [
"numpy>=1.26.0,<2.0.0", # For testing share_torch functionality
"psutil>=5.9.0", # For memory monitoring
"pytest-asyncio>=0.21.0", # Required for async test fixtures
"pytest>=7.0", # Required by benchmark scripts that import from tests
"pyyaml>=5.4.0", # For test manifest creation
"tabulate>=0.9.0", # For nice output formatting
"torch>=2.0.0", # For testing share_torch functionality
]
bench = [
"numpy>=1.26.0,<2.0.0", # For array benchmarking
"nvidia-ml-py3>=7.352.0", # For GPU memory monitoring
"psutil>=5.9.0", # For memory monitoring
"pytest-asyncio>=0.21.0", # Required for async test fixtures
"pytest>=7.0", # Required by benchmark scripts that import from tests
"pyyaml>=5.4.0", # Required by test files that benchmarks import
"tabulate>=0.9.0", # For nice output formatting
"torch>=2.0.0", # For tensor benchmarking
]
docs = [
"sphinx>=5.0",
"sphinx-rtd-theme>=1.0",
"sphinx-markdown-builder>=0.5.4", # Optional: for markdown output if needed
]
[project.urls]
"Homepage" = "https://github.com/hanzoui/pyisolate"
"Bug Reports" = "https://github.com/hanzoui/pyisolate/issues"
"Source" = "https://github.com/hanzoui/pyisolate"
[project.scripts]
# TODO: Add any console scripts/entry points
# pyisolate = "pyisolate.cli:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["pyisolate*"]
exclude = ["tests*"]
[tool.ruff]
line-length = 110
exclude = ["*.ipynb"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"S", # bandit security
"T", # flake8-print
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"PIE", # flake8-pie
"SIM", # flake8-simplify
]
# T201: print statements allowed
# S101: assert allowed
# S108: /tmp usage is intentional for IPC sockets
# S110: try-except-pass for graceful degradation in serialization
# S306: mktemp used for UDS socket paths (race-safe via bind)
# S603: subprocess.Popen required for child process spawning
ignore = ["T201", "S101", "S108", "S110", "S306", "S603"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --cov=pyisolate --cov-report=html --cov-report=term-missing"
testpaths = ["tests"]
asyncio_mode = "auto"
filterwarnings = [
"ignore:The pynvml package is deprecated:FutureWarning",
]
[tool.coverage.run]
source = ["pyisolate"]
omit = ["*/tests/*", "*/test_*.py"]