diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index dfd0ca0..ec71d1e 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -23,9 +23,10 @@ jobs: environment-file: environment.yml cache-environment-key: ${{ runner.os }}-env-${{ hashFiles('**/environment.yml') }} cache-downloads-key: ${{ runner.os }}-downloads-${{ hashFiles('**/environment.yml') }} - - name: install additional dependencies + - name: build and verify wheel run: | - echo "installing additional dependencies from environment_development.yml" + python -m build --wheel --no-isolation + check-wheel-contents dist/finddata-*.whl - name: build conda package run: | # set up environment diff --git a/environment.yml b/environment.yml index e29f2b9..ef6f18a 100644 --- a/environment.yml +++ b/environment.yml @@ -7,6 +7,7 @@ dependencies: - boa - conda-build < 4 - conda-verify + - check-wheel-contents - libmamba - libarchive - python-build diff --git a/pyproject.toml b/pyproject.toml index 4e8d9cd..bf4c77e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,10 +56,6 @@ finddata = "finddata.cli:main" [project.optional-dependencies] bashcompletion = ["argcomplete"] -[tool.setuptools.data-files] -"/etc/bash_completion.d" = ["finddata.bashcomplete"] -"*" = ["src/finddata/cli.py"] - [tool.pytest.ini_options] pythonpath = [ ".", "finddata", "scripts"