From 018abd65927f94e3e7ef920ead2002090cc96315 Mon Sep 17 00:00:00 2001 From: Dominic Ricottone Date: Tue, 13 Sep 2022 15:53:58 -0500 Subject: [PATCH] Toolchain update Apparently setuptools went ahead and added support for pyproject.toml while I wasn't paying attention. The era of duplicating metadata to setup.cfg is finally over. --- Makefile | 9 +++++---- setup.cfg | 20 -------------------- 2 files changed, 5 insertions(+), 24 deletions(-) delete mode 100644 setup.cfg diff --git a/Makefile b/Makefile index eee2f9e..2ab0f26 100644 --- a/Makefile +++ b/Makefile @@ -49,14 +49,15 @@ unittest: $(TEST_FILES) $(UNITTEST_FILE_BIN) tests/generated_syntax_tests.py --verbose PY_FILES=gap/cli.py gap/generator.py gap/__main__.py gap/toml_parser.py +PYBUILD_FILES=pyproject.toml LICENSE.md README.md -build/gap-$(VERSION)-py3-none-any.whl: build - -.PHONY: -build: $(PY_FILES) +build/gap-$(VERSION)-py3-none-any.whl: $(PY_FILES) $(PYBUILD_FILES) mkdir -p build $(BUILD_BIN) --wheel --no-isolation --outdir build/ +.PHONY: build +build: build/gap-$(VERSION)-py3-none-any.whl + .PHONY: reinstall reinstall: uninstall install diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index ca68df8..0000000 --- a/setup.cfg +++ /dev/null @@ -1,20 +0,0 @@ -[metadata] -name = gap -version = 1.0.3 -description = Generated argument parser -long_description = file: README.md -license = GPL -author = Dominic Ricottone -author_email = me@dominic-ricottone.com -url = git.dominic-ricottone.com/~dricottone/gap - -[options] -packages = gap -python_requires = >= 3.6 -install_requires = - toml >= 0.10.2 - -[options.entry_points] -console_scripts = - gap = gap.__main__:main - -- 2.45.2