From fd5b79217c36b89eb3a2a2790b44ccda071f7dab Mon Sep 17 00:00:00 2001 From: David Hotham Date: Wed, 12 Feb 2025 20:59:53 +0000 Subject: [PATCH] build and publish wheel --- Makefile | 4 ++-- Pipfile | 2 +- Pipfile.lock | 36 ++++++++++++++++++++++++++---------- setup.py | 1 - 4 files changed, 29 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index c59408cb..d12b0bb9 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ publish: clean - python setup.py sdist + python -m build twine upload dist/* clean: rm -vrf ./build ./dist ./*.egg-info find . -name '*.pyc' -delete - find . -name '*.tgz' -delete \ No newline at end of file + find . -name '*.tgz' -delete diff --git a/Pipfile b/Pipfile index 31d70a4f..e8e31374 100644 --- a/Pipfile +++ b/Pipfile @@ -14,4 +14,4 @@ urllib3 = ">=2.1.0" intuit-oauth = "==1.2.6" requests = ">=2.31.0" requests_oauthlib = ">=1.3.1" -setuptools = "*" +build = "*" diff --git a/Pipfile.lock b/Pipfile.lock index 1f088af2..5cd34380 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "ac47337a60c459de39be3440865879adc5be2217a477fbec6374e69659297513" + "sha256": "dd51fe531ba0bc1e934a0b630dc0b9b838cde70d44207667346ba4701233ba86" }, "pipfile-spec": 6, "requires": {}, @@ -14,6 +14,15 @@ ] }, "default": { + "build": { + "hashes": [ + "sha256:1d61c0887fa860c01971625baae8bdd338e517b836a2f70dd1f7aa3a6b2fc5b5", + "sha256:b36993e92ca9375a219c99e606a122ff365a760a2d4bba0caa09bd5278b608b7" + ], + "index": "pypi", + "markers": "python_version >= '3.8'", + "version": "==1.2.2.post1" + }, "certifi": { "hashes": [ "sha256:5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b", @@ -254,6 +263,14 @@ "markers": "python_version >= '3.6'", "version": "==3.2.2" }, + "packaging": { + "hashes": [ + "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759", + "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f" + ], + "markers": "python_version >= '3.8'", + "version": "==24.2" + }, "pycparser": { "hashes": [ "sha256:491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6", @@ -273,6 +290,14 @@ "markers": "python_version >= '3.8'", "version": "==2.9.0" }, + "pyproject-hooks": { + "hashes": [ + "sha256:1e859bd5c40fae9448642dd871adf459e5e2084186e8d2c2a79a824c970da1f8", + "sha256:9e5c6bfa8dcc30091c74b0cf803c81fdd29d94f01992a7707bc97babb1141913" + ], + "markers": "python_version >= '3.7'", + "version": "==1.2.0" + }, "requests": { "hashes": [ "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760", @@ -290,15 +315,6 @@ "markers": "python_version >= '3.4'", "version": "==2.0.0" }, - "setuptools": { - "hashes": [ - "sha256:5a03e1860cf56bb6ef48ce186b0e557fdba433237481a9a625176c2831be15d1", - "sha256:8d243eff56d095e5817f796ede6ae32941278f542e0f941867cc05ae52b162ec" - ], - "index": "pypi", - "markers": "python_version >= '3.8'", - "version": "==72.1.0" - }, "six": { "hashes": [ "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", diff --git a/setup.py b/setup.py index 6198d5f6..1c5d1add 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,6 @@ def read(*parts): }, install_requires=[ - 'setuptools', 'intuit-oauth==1.2.6', 'requests_oauthlib>=1.3.1', 'requests>=2.31.0',