From e72acc1fbd6e4a7541f4e7dafeda99d24e762009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ha=CC=8Akon=20Wiik=20A=CC=8Anes?= Date: Sat, 7 Sep 2024 15:35:37 +0200 Subject: [PATCH] Remove manifix dependency and MANIFEST.in file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Håkon Wiik Ånes --- .github/workflows/build.yml | 17 ----------------- MANIFEST.in | 14 -------------- doc/dev/building_writing_documentation.rst | 2 +- pyproject.toml | 1 - 4 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 MANIFEST.in diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f721f637..ec101a10 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,23 +34,6 @@ jobs: run: | black --diff --line-length 77 doc/tutorials/*.ipynb - # Make sure all necessary files will be included in a release - manifest: - name: check manifest - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-python@v4 - - - name: Install dependencies - run: | - pip install manifix - - - name: Check MANIFEST.in file - run: | - python setup.py manifix - build-with-pip: name: ${{ matrix.os }}-py${{ matrix.python-version }}${{ matrix.LABEL }} runs-on: ${{ matrix.os }} diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 9c3daa8f..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1,14 +0,0 @@ -include CHANGELOG.rst -include CONTRIBUTING.rst -include environment.yml -include LICENSE -include README.rst -include RELEASE.rst -include readthedocs.yaml -include setup.cfg -include setup.py -include tutorials/README.rst - -recursive-include doc Makefile make.bat *.rst *.py *.ipynb *.bib *.txt *.cfg *.sh *.yml -recursive-include doc/_static *.png *.jpb *.svg *.css *.sh -recursive-include examples *.txt *.py diff --git a/doc/dev/building_writing_documentation.rst b/doc/dev/building_writing_documentation.rst index 5bd8d66d..05815b42 100644 --- a/doc/dev/building_writing_documentation.rst +++ b/doc/dev/building_writing_documentation.rst @@ -112,7 +112,7 @@ We use :doc:`nbval ` for this. The tutorial notebooks can be run interactively in the browser with the help of Binder. When creating a server from the orix source code, Binder installs the packages listed in the ``environment.yml`` configuration file, which must include all ``doc`` dependencies -in ``setup.py`` necessary to run the notebooks. +in ``pyproject.toml`` necessary to run the notebooks. Writing API reference --------------------- diff --git a/pyproject.toml b/pyproject.toml index 838c3d28..9c72c7d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,6 @@ dev = [ "black[jupyter]", "hatch", "isort >= 5.10", - "manifix", "outdated", "pre-commit >= 1.16", "orix[doc,tests,coverage]",