From 956dff6ecf40c2baa744297440fb93ae57fee3d9 Mon Sep 17 00:00:00 2001 From: Tom Donoghue Date: Sat, 8 Jul 2023 10:22:07 -0400 Subject: [PATCH 1/3] update build procedure --- MANIFEST.in | 2 +- Makefile | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 1aba38f67..82c51f634 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1 @@ -include LICENSE +include LICENSE requirements.txt diff --git a/Makefile b/Makefile index 62d31290f..c1ecdcbdf 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,8 @@ # pytest For running tests # coverage For running test coverage # pylint For running linting on code -# setuptools For creating distributions +# setuptools For creating distributions +# build For creating distributions # twine For checking and publishing distributions # # The following command line utilities are required: @@ -104,7 +105,7 @@ dist: # Check a distribution build using twine check-dist: @printf "\n\nCHECKING DISTRIBUTION BUILD:\n" - twine check dist/* + @twine check dist/* @printf "\n" # Clear out distribution files From cd51f02d8469a073f98454ef0cb2eb8e2883a218 Mon Sep 17 00:00:00 2001 From: Tom Donoghue Date: Sat, 8 Jul 2023 10:31:18 -0400 Subject: [PATCH 2/3] update build command --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c1ecdcbdf..0699f7ad9 100644 --- a/Makefile +++ b/Makefile @@ -99,7 +99,7 @@ summary: # Create a distribution build of the module dist: @printf "\n\nCREATING DISTRIBUTION BUILD...\n" - @python setup.py sdist bdist_wheel + @python -m build @printf "\n\nDISTRIBUTION BUILD CREATED\n\n\n" # Check a distribution build using twine From bb1dd2368838f6cad7068657ff39faed535174dc Mon Sep 17 00:00:00 2001 From: Tom Donoghue Date: Sat, 8 Jul 2023 11:52:46 -0400 Subject: [PATCH 3/3] spacing fix --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0699f7ad9..bc19ef9f9 100644 --- a/Makefile +++ b/Makefile @@ -9,9 +9,9 @@ # pytest For running tests # coverage For running test coverage # pylint For running linting on code -# setuptools For creating distributions -# build For creating distributions -# twine For checking and publishing distributions +# setuptools For creating distributions +# build For creating distributions +# twine For checking and publishing distributions # # The following command line utilities are required: # cloc For counting lines of code