~dricottone/gap

018abd65927f94e3e7ef920ead2002090cc96315 — Dominic Ricottone 2 years ago 9371a52 dev
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.
2 files changed, 5 insertions(+), 24 deletions(-)

M Makefile
D setup.cfg
M Makefile => Makefile +5 -4
@@ 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


D setup.cfg => setup.cfg +0 -20
@@ 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