From 198e0b76adccc860052a1cc9b66e665849073619 Mon Sep 17 00:00:00 2001 From: Alexander Hampel Date: Mon, 25 Sep 2023 15:05:41 -0400 Subject: [PATCH] [build] move pypi to packaging --- .github/workflows/publish-to-pypi.yml | 3 ++- MANIFEST.in => packaging/pypi/MANIFEST.in | 0 pyproject.toml => packaging/pypi/pyproject.toml | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename MANIFEST.in => packaging/pypi/MANIFEST.in (100%) rename pyproject.toml => packaging/pypi/pyproject.toml (100%) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index ff48fdcf..c7ff8edc 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -23,8 +23,9 @@ jobs: pip install build toml --user - - name: copy version.in + - name: prepare python distribution run: | + cp packaging/pypi/* ./ mkdir build && cd build cmake ../ mv python/solid_dmft/version.py ../python/solid_dmft/version.py diff --git a/MANIFEST.in b/packaging/pypi/MANIFEST.in similarity index 100% rename from MANIFEST.in rename to packaging/pypi/MANIFEST.in diff --git a/pyproject.toml b/packaging/pypi/pyproject.toml similarity index 100% rename from pyproject.toml rename to packaging/pypi/pyproject.toml