diff --git a/pyproject.toml b/pyproject.toml index fd90ffda4..652229ac8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,23 @@ classifiers = [ "Programming Language :: Python :: 3", "Topic :: System :: Distributed Computing", ] -dependencies = [] +dependencies = [ + "pydantic~=1.10.13", + "aiohttp~=3.8.6", + "aiodns~=3.1.0", + "alembic~=1.7.6", + "setproctitle~=1.3.3", + "pyyaml~=6.0.1", + "aleph-message~=0.4.0", + "jwskate~=0.8.0", + "eth-account~=0.9.0", + "sentry-sdk~=1.31.0", + "aioredis~=1.3.1", + "psutil~=5.9.5", + "py-cpuinfo~=9.0.0", + "schedule~=1.2.1", + "nftables @ git+https://salsa.debian.org/pkg-netfilter-team/pkg-nftables#egg=nftables&subdirectory=py", +] [project.urls] Documentation = "https://docs.aleph.im/nodes/compute/" @@ -37,23 +53,15 @@ aleph-vm = "aleph.vm.orchestrator.cli:main" [tool.hatch.version] source = "vcs" +[tool.hatch.build.targets.wheel] +packages = ["src/aleph"] + +[tool.hatch.metadata] +allow-direct-references = true + [tool.hatch.envs.default] platforms = ["linux"] dependencies = [ - "pydantic~=1.10.13", - "aiohttp~=3.8.6", - "aiodns~=3.1.0", - "alembic~=1.7.6", - "setproctitle~=1.3.3", - "pyyaml~=6.0.1", - "aleph-message~=0.4.0", - "jwskate~=0.8.0", - "eth-account~=0.9.0", - "sentry-sdk~=1.31.0", - "aioredis~=1.3.1", - "psutil~=5.9.5", - "py-cpuinfo~=9.0.0", - "schedule~=1.2.1", # "git+https://salsa.debian.org/pkg-netfilter-team/pkg-nftables#egg=nftables&subdirectory=py", ]