Simpler packaging
This commit is contained in:
parent
d8961717bb
commit
6ff9cff8d4
648 changed files with 154 additions and 1196 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -286,7 +286,3 @@ tags
|
||||||
|
|
||||||
# TODO: where does this rule come from?
|
# TODO: where does this rule come from?
|
||||||
docs/_book
|
docs/_book
|
||||||
|
|
||||||
# TODO: where does this rule come from?
|
|
||||||
test/
|
|
||||||
/pyproject.toml
|
|
||||||
|
|
16
Makefile
16
Makefile
|
@ -10,21 +10,9 @@ clean:
|
||||||
rm -rf *.egg-info dist build .eggs .pytest_cache
|
rm -rf *.egg-info dist build .eggs .pytest_cache
|
||||||
|
|
||||||
sdist:
|
sdist:
|
||||||
for pyproject in pyprojects/*.toml; \
|
flit -f $(SRCDIR)/pyproject.toml build --no-setup-py --format=sdist
|
||||||
do \
|
|
||||||
rm -f pyproject.toml; \
|
|
||||||
ln -s $(SRCDIR)/$$pyproject $(SRCDIR)/pyproject.toml; \
|
|
||||||
flit -f $(SRCDIR)/pyproject.toml build --no-setup-py --format=sdist; \
|
|
||||||
rm pyproject.toml; \
|
|
||||||
done
|
|
||||||
|
|
||||||
wheel:
|
wheel:
|
||||||
for pyproject in pyprojects/*.toml; \
|
flit -f $(SRCDIR)/pyproject.toml build --no-setup-py --format=wheel
|
||||||
do \
|
|
||||||
rm -f pyproject.toml; \
|
|
||||||
ln -s $(SRCDIR)/$$pyproject $(SRCDIR)/pyproject.toml; \
|
|
||||||
flit -f $(SRCDIR)/pyproject.toml build --no-setup-py --format=wheel; \
|
|
||||||
rm pyproject.toml; \
|
|
||||||
done
|
|
||||||
|
|
||||||
.PHONY: clean test sdist wheel
|
.PHONY: clean test sdist wheel
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
#!/usr/bin/env python3
|
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
from importlib.metadata import version
|
|
||||||
|
|
||||||
__version__ = version(__package__)
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue