diff --git a/.gitignore b/.gitignore index 9b0b4352..759f4f23 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ __pycache__ .mypy_cache/ **/client.key **/client.pem +*.egg-info/ diff --git a/pyproject.toml b/pyproject.toml index e8f3ebd8..510438e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,59 +84,12 @@ constraint-dependencies = [ "yarl!=1.24.0", ] -[tool.hatch.metadata] -allow-direct-references = true - -[tool.hatch.build.targets.sdist] -include = ["./**/*.py"] -exclude = ["lambda_worker/**"] - -[tool.hatch.build.targets.wheel] -include = ["./**/*.py"] -exclude = ["lambda_worker/**"] -packages = [ - "activity_worker", - "bedrock", - "cloud_export_to_parquet", - "context_propagation", - "custom_converter", - "custom_decorator", - "custom_metric", - "dsl", - "encryption", - "external_storage", - "external_storage_redis", - "gevent_async", - "hello", - "langgraph_plugin", - "langsmith_tracing", - "message_passing", - "nexus", - "open_telemetry", - "patching", - "polling", - "prometheus", - "pydantic_converter", - "pydantic_converter_v1", - "pyproject.toml", - "replay", - "schedules", - "sentry", - "sleep_for_days", - "strands_plugin", - "tests", - "trio_async", - "updatable_timer", - "worker_specific_task_queues", - "worker_versioning", -] - -[tool.hatch.build.targets.wheel.sources] -"./**/*.py" = "**/*.py" +[tool.setuptools.packages.find] +exclude = ["lambda_worker*"] [build-system] -requires = ["hatchling"] -build-backend = "hatchling.build" +requires = ["setuptools>=77"] +build-backend = "setuptools.build_meta" [tool.poe.tasks] format = [