Re: flowblade problem using pyproject_* macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin Gansser venit, vidit, dixit 2025-07-15 11:04:08:
> Hi,
> 
> after using the pyproject_* macros for flowblade [1], the compilation fails with the following error message:
> 
> Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.FtJ5fH
> + umask 022
> + cd /builddir/build/BUILD/flowblade-2.22-build
> + cd flowblade-2.22
> + echo pyproject-rpm-macros
> + echo python3-devel
> + echo 'python3dist(packaging)'
> + echo 'python3dist(pip) >= 19'
> + '[' -f pyproject.toml ']'
> + '[' -f setup.py ']'
> + echo 'ERROR: Neither pyproject.toml nor setup.py found, consider using %pyproject_buildrequires -N <requirements-file> if this is not a Python package.'
> ERROR: Neither pyproject.toml nor setup.py found, consider using %pyproject_buildrequires -N <requirements-file> if this is not a Python package.
> + exit 1
> 

You might want to `find -name setup.py` in the sources which you're
trying to build (say, after `fedpkg prep`).

... or look at your own specfile: You're cd'ing during %build already,
and sure enough that's where your setup.py is. So'll need to cd during
%generate_buildrequires (it's a section, too).

Michael
-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux