From nobody Wed Dec 17 21:39:26 2025 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 52C97203D70 for ; Mon, 16 Dec 2024 10:42:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734345734; cv=none; b=GJCRlY7cQ9GtVRX3hdtoQqhudS/n6wSRhdyZeM030e5ZeMo3/shdnp9kljCe60RlAbiHMxikKquX/RyY0BiyKLa1I0IH5l73XFEnLo3VasutjqxetoBB/JW+tC1fHvpxkAlnfdCTyhJsYqozVD1kri5hVq9pazg7P7XVAHnyAGU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734345734; c=relaxed/simple; bh=6VdqSl8alXvH6pPsK78wHQAqoCIfIhg5UpI5s40sgg8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-type; b=lNqm1jq6BmXM2/UsGdyl75zrUvlJ1Se88meDyMEO8ulrzTcdldGzVubIOHv/N8qmDnAA4rAslsB6b+fxdCx7a3DqCto4L4IF21cLklHkzDgA6HqG5nILqxeTbcZavRjA7lw0QUujPmCR6xngIlBbWDnYfVtBLogeLu6MeQvCh2U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Ty75Rw3q; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Ty75Rw3q" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1734345731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=l7tcKVC1kh1dFVI8oN1xiQyOlNqxnj21TIJYyRp/op8=; b=Ty75Rw3qD0Ik3lUDHtmiL0CwjXc4EndxSRPySYpCJoab27pXw6LvdE5kUbg57PQooQ4QB+ fK6VQRnd6t4r5uWw4UM0IwXBy7UvHVALZAwz4MmXHs4vLCf6VnPGzgtaXjZuL8PJVa7Sun kHIOmXR7VNyB6x2TnGBWJR0MOrCQxb0= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-453-tUpMBIfLOWWK22VyY4z5Lw-1; Mon, 16 Dec 2024 05:42:10 -0500 X-MC-Unique: tUpMBIfLOWWK22VyY4z5Lw-1 X-Mimecast-MFC-AGG-ID: tUpMBIfLOWWK22VyY4z5Lw Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7B6D8195609F; Mon, 16 Dec 2024 10:42:08 +0000 (UTC) Received: from t14s.redhat.com (unknown [10.45.225.0]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id BBEE8300F9B5; Mon, 16 Dec 2024 10:42:04 +0000 (UTC) From: Jan Stancek To: donald.hunter@gmail.com, stfomichev@gmail.com, kuba@kernel.org, jdamato@fastly.com Cc: pabeni@redhat.com, davem@davemloft.net, edumazet@google.com, horms@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jstancek@redhat.com Subject: [PATCH v3 2/4] tools: ynl: add initial pyproject.toml for packaging Date: Mon, 16 Dec 2024 11:41:42 +0100 Message-ID: <2a9b6d5a782acfa71ae5fb2f4d3cc538740013b6.1734345017.git.jstancek@redhat.com> In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jan Stancek --- tools/net/ynl/pyproject.toml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tools/net/ynl/pyproject.toml diff --git a/tools/net/ynl/pyproject.toml b/tools/net/ynl/pyproject.toml new file mode 100644 index 000000000000..677ea8f4c185 --- /dev/null +++ b/tools/net/ynl/pyproject.toml @@ -0,0 +1,26 @@ +[build-system] +requires =3D ["setuptools>=3D61.0"] +build-backend =3D "setuptools.build_meta" + +[project] +name =3D "pyynl" +authors =3D [ + {name =3D "Donald Hunter", email =3D "donald.hunter@gmail.com"}, + {name =3D "Jakub Kicinski", email =3D "kuba@kernel.org"}, +] +description =3D "yaml netlink (ynl)" +version =3D "0.0.1" +requires-python =3D ">=3D3.9" +dependencies =3D [ + "pyyaml=3D=3D6.*", + "jsonschema=3D=3D4.*" +] + +[tool.setuptools.packages.find] +include =3D ["pyynl", "pyynl.lib"] + +[project.scripts] +ynl =3D "pyynl.cli:main" +ynl-ethtool =3D "pyynl.ethtool:main" +ynl-gen-c =3D "pyynl.ynl_gen_c:main" +ynl-gen-rst =3D "pyynl.ynl_gen_rst:main" --=20 2.43.0