mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-04-20 01:08:40 +02:00
build: convert from poetry to uv
This commit is contained in:
parent
12138e2b8d
commit
3116197c08
26
.github/workflows/pythonpackage.yml
vendored
26
.github/workflows/pythonpackage.yml
vendored
@ -24,23 +24,15 @@ jobs:
|
|||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Run image
|
- name: Install uv
|
||||||
uses: abatilo/actions-poetry@v4
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
poetry-version: ${{ matrix.poetry-version }}
|
version: "0.4.30"
|
||||||
- name: Setup a local virtual environment (if no poetry.toml file)
|
enable-cache: true
|
||||||
run: |
|
cache-dependency-glob: "uv.lock"
|
||||||
poetry config virtualenvs.create true --local
|
- name: Install the project
|
||||||
poetry config virtualenvs.in-project true --local
|
run: uv sync --all-extras --dev
|
||||||
- uses: actions/cache@v4
|
|
||||||
name: Define a cache for the virtual environment based on the dependencies lock file
|
|
||||||
with:
|
|
||||||
path: ./.venv
|
|
||||||
key: venv-${{ hashFiles('poetry.lock') }}
|
|
||||||
- name: Install the project dependencies
|
|
||||||
run: poetry install
|
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: uv run flake8 sshuttle tests --count --show-source --statistics
|
||||||
poetry run flake8 sshuttle tests --count --show-source --statistics
|
|
||||||
- name: Run the automated tests
|
- name: Run the automated tests
|
||||||
run: poetry run pytest -v
|
run: uv run pytest -v
|
||||||
|
23
.github/workflows/release-please.yml
vendored
23
.github/workflows/release-please.yml
vendored
@ -33,23 +33,14 @@ jobs:
|
|||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.12
|
python-version: 3.12
|
||||||
- name: Run image
|
- name: Install uv
|
||||||
uses: abatilo/actions-poetry@v4
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
poetry-version: main
|
version: "0.4.30"
|
||||||
- name: Setup a local virtual environment (if no poetry.toml file)
|
enable-cache: true
|
||||||
run: |
|
cache-dependency-glob: "uv.lock"
|
||||||
poetry config virtualenvs.create true --local
|
- name: Build project
|
||||||
poetry config virtualenvs.in-project true --local
|
run: uv build
|
||||||
- uses: actions/cache@v4
|
|
||||||
name: Define a cache for the virtual environment based on the dependencies lock file
|
|
||||||
with:
|
|
||||||
path: ./.venv
|
|
||||||
key: venv-${{ hashFiles('poetry.lock') }}
|
|
||||||
- name: Install the project dependencies
|
|
||||||
run: poetry install
|
|
||||||
- name: Package project
|
|
||||||
run: poetry build
|
|
||||||
- name: Store the distribution packages
|
- name: Store the distribution packages
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
@ -5,10 +5,9 @@ build:
|
|||||||
tools:
|
tools:
|
||||||
python: "3.10"
|
python: "3.10"
|
||||||
jobs:
|
jobs:
|
||||||
post_create_environment:
|
|
||||||
- pip install poetry
|
|
||||||
post_install:
|
post_install:
|
||||||
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
|
- pip install uv
|
||||||
|
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --all-extras --group docs --link-mode=copy
|
||||||
|
|
||||||
sphinx:
|
sphinx:
|
||||||
configuration: docs/conf.py
|
configuration: docs/conf.py
|
||||||
|
145
flake.lock
generated
145
flake.lock
generated
@ -18,52 +18,13 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-utils_2": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": "systems_2"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1726560853,
|
|
||||||
"narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nix-github-actions": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"poetry2nix",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1729742964,
|
|
||||||
"narHash": "sha256-B4mzTcQ0FZHdpeWcpDYPERtyjJd/NIuaQ9+BV1h+MpA=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nix-github-actions",
|
|
||||||
"rev": "e04df33f62cdcf93d73e9a04142464753a16db67",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nix-github-actions",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1738702386,
|
"lastModified": 1740743217,
|
||||||
"narHash": "sha256-nJj8f78AYAxl/zqLiFGXn5Im1qjFKU8yBPKoWEeZN5M=",
|
"narHash": "sha256-brsCRzLqimpyhORma84c3W2xPbIidZlIc3JGIuQVSNI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "030ba1976b7c0e1a67d9716b17308ccdab5b381e",
|
"rev": "b27ba4eb322d9d2bf2dc9ada9fd59442f50c8d7c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -73,27 +34,49 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"poetry2nix": {
|
"pyproject-build-systems": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_2",
|
|
||||||
"nix-github-actions": "nix-github-actions",
|
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"systems": "systems_3",
|
"pyproject-nix": [
|
||||||
"treefmt-nix": "treefmt-nix"
|
"pyproject-nix"
|
||||||
|
],
|
||||||
|
"uv2nix": [
|
||||||
|
"uv2nix"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1738741221,
|
"lastModified": 1740362541,
|
||||||
"narHash": "sha256-UiTOA89yQV5YNlO1ZAp4IqJUGWOnTyBC83netvt8rQE=",
|
"narHash": "sha256-S8Mno07MspggOv/xIz5g8hB2b/C5HPiX8E+rXzKY+5U=",
|
||||||
"owner": "nix-community",
|
"owner": "pyproject-nix",
|
||||||
"repo": "poetry2nix",
|
"repo": "build-system-pkgs",
|
||||||
"rev": "be1fe795035d3d36359ca9135b26dcc5321b31fb",
|
"rev": "e151741c848ba92331af91f4e47640a1fb82be19",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "pyproject-nix",
|
||||||
"repo": "poetry2nix",
|
"repo": "build-system-pkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pyproject-nix": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1739758351,
|
||||||
|
"narHash": "sha256-Aoa4dEoC7Hf6+gFVk/SDquZTMFlmlfsgdTWuqQxzePs=",
|
||||||
|
"owner": "pyproject-nix",
|
||||||
|
"repo": "pyproject.nix",
|
||||||
|
"rev": "1329712f7f9af3a8b270764ba338a455b7323811",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "pyproject-nix",
|
||||||
|
"repo": "pyproject.nix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -101,7 +84,9 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"poetry2nix": "poetry2nix"
|
"pyproject-build-systems": "pyproject-build-systems",
|
||||||
|
"pyproject-nix": "pyproject-nix",
|
||||||
|
"uv2nix": "uv2nix"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
@ -119,54 +104,26 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_2": {
|
"uv2nix": {
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"treefmt-nix": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"poetry2nix",
|
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"pyproject-nix": [
|
||||||
|
"pyproject-nix"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730120726,
|
"lastModified": 1740497536,
|
||||||
"narHash": "sha256-LqHYIxMrl/1p3/kvm2ir925tZ8DkI0KA10djk8wecSk=",
|
"narHash": "sha256-K+8wsVooqhaqyxuvew3+62mgOfRLJ7whv7woqPU3Ypo=",
|
||||||
"owner": "numtide",
|
"owner": "pyproject-nix",
|
||||||
"repo": "treefmt-nix",
|
"repo": "uv2nix",
|
||||||
"rev": "9ef337e492a5555d8e17a51c911ff1f02635be15",
|
"rev": "d01fd3a141755ad5d5b93dd9fcbd76d6401f5bac",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "numtide",
|
"owner": "pyproject-nix",
|
||||||
"repo": "treefmt-nix",
|
"repo": "uv2nix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
112
flake.nix
112
flake.nix
@ -1,54 +1,112 @@
|
|||||||
{
|
{
|
||||||
description = "Transparent proxy server that works as a poor man's VPN. Forwards over ssh. Doesn't require admin. Works with Linux and MacOS. Supports DNS tunneling.";
|
description = "Transparent proxy server that works as a poor man's VPN. Forwards over ssh. Doesn't require admin. Works with Linux and MacOS. Supports DNS tunneling.";
|
||||||
|
|
||||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
inputs = {
|
||||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
inputs.poetry2nix = {
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
|
||||||
url = "github:nix-community/poetry2nix";
|
pyproject-nix = {
|
||||||
|
url = "github:pyproject-nix/pyproject.nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
uv2nix = {
|
||||||
|
url = "github:pyproject-nix/uv2nix";
|
||||||
|
inputs.pyproject-nix.follows = "pyproject-nix";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
pyproject-build-systems = {
|
||||||
|
url = "github:pyproject-nix/build-system-pkgs";
|
||||||
|
inputs.pyproject-nix.follows = "pyproject-nix";
|
||||||
|
inputs.uv2nix.follows = "uv2nix";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{
|
{
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
flake-utils,
|
flake-utils,
|
||||||
poetry2nix,
|
pyproject-nix,
|
||||||
|
uv2nix,
|
||||||
|
pyproject-build-systems,
|
||||||
}:
|
}:
|
||||||
flake-utils.lib.eachDefaultSystem (
|
flake-utils.lib.eachDefaultSystem (
|
||||||
system:
|
system:
|
||||||
let
|
let
|
||||||
p2n = import poetry2nix { inherit pkgs; };
|
inherit (nixpkgs) lib;
|
||||||
overrides = p2n.defaultPoetryOverrides.extend (
|
|
||||||
self: super: {
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
nh3 = super.nh3.override { preferWheel = true; };
|
|
||||||
bump2version = super.bump2version.overridePythonAttrs (old: {
|
python = pkgs.python312;
|
||||||
buildInputs = (old.buildInputs or [ ]) ++ [ super.setuptools ];
|
|
||||||
});
|
workspace = uv2nix.lib.workspace.loadWorkspace { workspaceRoot = ./.; };
|
||||||
}
|
|
||||||
|
# Create package overlay from workspace.
|
||||||
|
overlay = workspace.mkPyprojectOverlay {
|
||||||
|
sourcePreference = "sdist";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Extend generated overlay with build fixups
|
||||||
|
#
|
||||||
|
# Uv2nix can only work with what it has, and uv.lock is missing essential metadata to perform some builds.
|
||||||
|
# This is an additional overlay implementing build fixups.
|
||||||
|
# See:
|
||||||
|
# - https://pyproject-nix.github.io/uv2nix/FAQ.html
|
||||||
|
pyprojectOverrides =
|
||||||
|
final: prev:
|
||||||
|
# Implement build fixups here.
|
||||||
|
# Note that uv2nix is _not_ using Nixpkgs buildPythonPackage.
|
||||||
|
# It's using https://pyproject-nix.github.io/pyproject.nix/build.html
|
||||||
|
let
|
||||||
|
inherit (final) resolveBuildSystem;
|
||||||
|
inherit (builtins) mapAttrs;
|
||||||
|
|
||||||
|
# Build system dependencies specified in the shape expected by resolveBuildSystem
|
||||||
|
# The empty lists below are lists of optional dependencies.
|
||||||
|
#
|
||||||
|
# A package `foo` with specification written as:
|
||||||
|
# `setuptools-scm[toml]` in pyproject.toml would be written as
|
||||||
|
# `foo.setuptools-scm = [ "toml" ]` in Nix
|
||||||
|
buildSystemOverrides = {
|
||||||
|
chardet.setuptools = [ ];
|
||||||
|
colorlog.setuptools = [ ];
|
||||||
|
python-debian.setuptools = [ ];
|
||||||
|
};
|
||||||
|
|
||||||
|
in
|
||||||
|
mapAttrs (
|
||||||
|
name: spec:
|
||||||
|
prev.${name}.overrideAttrs (old: {
|
||||||
|
nativeBuildInputs = old.nativeBuildInputs ++ resolveBuildSystem spec;
|
||||||
|
})
|
||||||
|
) buildSystemOverrides;
|
||||||
|
|
||||||
|
pythonSet =
|
||||||
|
(pkgs.callPackage pyproject-nix.build.packages {
|
||||||
|
inherit python;
|
||||||
|
}).overrideScope
|
||||||
|
(
|
||||||
|
lib.composeManyExtensions [
|
||||||
|
pyproject-build-systems.overlays.default
|
||||||
|
overlay
|
||||||
|
pyprojectOverrides
|
||||||
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
poetry_env = p2n.mkPoetryEnv {
|
inherit (pkgs.callPackages pyproject-nix.build.util { }) mkApplication;
|
||||||
python = pkgs.python3;
|
package = mkApplication {
|
||||||
projectDir = self;
|
venv = pythonSet.mkVirtualEnv "sshuttle" workspace.deps.default;
|
||||||
inherit overrides;
|
package = pythonSet.sshuttle;
|
||||||
};
|
};
|
||||||
poetry_app = p2n.mkPoetryApplication {
|
|
||||||
python = pkgs.python3;
|
|
||||||
projectDir = self;
|
|
||||||
inherit overrides;
|
|
||||||
};
|
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
packages = {
|
packages = {
|
||||||
sshuttle = poetry_app;
|
sshuttle = package;
|
||||||
default = self.packages.${system}.sshuttle;
|
default = package;
|
||||||
};
|
};
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
packages = [
|
packages = [
|
||||||
pkgs.poetry
|
pkgs.uv
|
||||||
poetry_env
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
1330
poetry.lock
generated
1330
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -1,9 +1,13 @@
|
|||||||
[tool.poetry]
|
[project]
|
||||||
|
authors = [
|
||||||
|
{name = "Brian May", email = "brian@linuxpenguins.xyz"},
|
||||||
|
]
|
||||||
|
license = {text = "LGPL-2.1"}
|
||||||
|
requires-python = "<4.0,>=3.9"
|
||||||
|
dependencies = []
|
||||||
name = "sshuttle"
|
name = "sshuttle"
|
||||||
version = "1.3.0"
|
version = "1.3.0"
|
||||||
description = "Transparent proxy server that works as a poor man's VPN. Forwards over ssh. Doesn't require admin. Works with Linux and MacOS. Supports DNS tunneling."
|
description = "Transparent proxy server that works as a poor man's VPN. Forwards over ssh. Doesn't require admin. Works with Linux and MacOS. Supports DNS tunneling."
|
||||||
authors = ["Brian May <brian@linuxpenguins.xyz>"]
|
|
||||||
license = "LGPL-2.1"
|
|
||||||
readme = "README.rst"
|
readme = "README.rst"
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 5 - Production/Stable",
|
"Development Status :: 5 - Production/Stable",
|
||||||
@ -18,27 +22,31 @@ classifiers = [
|
|||||||
"Topic :: System :: Networking",
|
"Topic :: System :: Networking",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[project.scripts]
|
||||||
python = "^3.9"
|
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
|
||||||
pytest = "^8.0.1"
|
|
||||||
pytest-cov = ">=4.1,<7.0"
|
|
||||||
flake8 = "^7.0.0"
|
|
||||||
pyflakes = "^3.2.0"
|
|
||||||
bump2version = "^1.0.1"
|
|
||||||
twine = ">=5,<7"
|
|
||||||
|
|
||||||
[build-system]
|
|
||||||
requires = ["poetry-core"]
|
|
||||||
build-backend = "poetry.core.masonry.api"
|
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
|
||||||
sshuttle = "sshuttle.cmdline:main"
|
sshuttle = "sshuttle.cmdline:main"
|
||||||
|
|
||||||
[tool.poetry.group.docs]
|
[dependency-groups]
|
||||||
optional = true
|
dev = [
|
||||||
|
"pytest<9.0.0,>=8.0.1",
|
||||||
|
"pytest-cov<7.0,>=4.1",
|
||||||
|
"flake8<8.0.0,>=7.0.0",
|
||||||
|
"pyflakes<4.0.0,>=3.2.0",
|
||||||
|
"bump2version<2.0.0,>=1.0.1",
|
||||||
|
"twine<7,>=5",
|
||||||
|
]
|
||||||
|
docs = [
|
||||||
|
"sphinx==8.1.3; python_version ~= \"3.10\"",
|
||||||
|
"furo==2024.8.6",
|
||||||
|
]
|
||||||
|
|
||||||
[tool.poetry.group.docs.dependencies]
|
[tool.uv]
|
||||||
sphinx = { version = "8.1.3", python = ">=3.10,<4.0" }
|
default-groups = []
|
||||||
furo = "2024.8.6"
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["hatchling"]
|
||||||
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
|
[tool.hatch.build.targets.sdist]
|
||||||
|
exclude = [
|
||||||
|
"/.jj"
|
||||||
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user