[Bug 1685922] Review Request: packit - A set of tools to integrate upstream open source projects into Fedora operating system

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1685922



--- Comment #14 from Frantisek Lachman <lachmanfrantisek@xxxxxxxxx> ---
> So, the directory itself must not be in %files section, but the %{python3_sitelib}/__pycache__/* has to be there. I'll send new files soon.

It gives me an error:
File not found:
/builddir/build/BUILDROOT/packit-0.0.1-1.fc31.x86_64/usr/lib/python3.7/site-packages/__pycache__/*

> Python Packaging Guideline:
>
> All that you need to do is include the files in the %files section (replacing %{python3_sitelib} with the appropriate macro for your package):
> 
> %files
> %{python3_sitelib}/foo/
>
> or, if the python code installs directly into %{python3_sitelib}:
> 
> %files
> %{python3_sitelib}/foo.py
> %{python3_sitelib}/__pycache__/*

We have the first case, so this should be ok:

> 53 %{python3_sitelib}/%{real_name}

Am I right?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux