Remove the toml file from the tarball.
@@ -12,7 +12,11 @@ source:
build:
noarch: python
number: 0
- script: "{{ PYTHON }} -m pip install . -vv"
+ # This package does not have a setup.py in the github repository but one is
+ # generated in the tarball. The pyproject.toml file doesn't let a normal
+ # setup.py installation work, so remove it.
+ # Solution taken from: https://github.com/conda-forge/staged-recipes/pull/12652
+ script: "/bin/rm -f pyproject.toml && {{ PYTHON }} -m pip install . -vv"
requirements:
host:
