From e373a2fd4038172e2184a9b233a1b576857d54fa Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 13 Jan 2024 15:44:49 -0500 Subject: [PATCH] Use flit instead of setuptools for vectors Its much faster --- vectors/MANIFEST.in | 4 ---- vectors/pyproject.toml | 12 ++++-------- 2 files changed, 4 insertions(+), 12 deletions(-) delete mode 100644 vectors/MANIFEST.in diff --git a/vectors/MANIFEST.in b/vectors/MANIFEST.in deleted file mode 100644 index 6d1e5ff66c70..000000000000 --- a/vectors/MANIFEST.in +++ /dev/null @@ -1,4 +0,0 @@ -recursive-include cryptography_vectors * -include LICENSE -include LICENSE.APACHE -include LICENSE.BSD diff --git a/vectors/pyproject.toml b/vectors/pyproject.toml index 8540516ace1a..704bc0a5a96b 100644 --- a/vectors/pyproject.toml +++ b/vectors/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools"] -build-backend = "setuptools.build_meta" +requires = ["flit_core >=3.2,<4"] +build-backend = "flit_core.buildapi" [project] name = "cryptography_vectors" @@ -14,9 +14,5 @@ license = {text = "Apache-2.0 OR BSD-3-Clause"} [project.urls] homepage = "https://github.com/pyca/cryptography" -[tool.setuptools] -zip-safe = false -include-package-data = true - -[tool.distutils.bdist_wheel] -universal = true +[tool.flit.sdist] +include = ["LICENSE", "LICENSE.APACHE", "LICENSE.BSD"]