Re: pyx files?

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

 



On Fri, Jul 09, 2010 at 10:22:22AM -0700, Ray Van Dolson wrote:
> I'm updating one of my packages (pymssql) which has moved to using
> Cython.  As such, it includes .pyx files.
> 
> By default, the setup tools place these .pyx files in %{_usr}.  As we
> typically wouldn't include the generated .c files, I'm not sure we need
> to package .pyx files, though I do see a few packages out there which
> contain some.
> 
> Anyone have any thoughts?  Should my upstream configure their setup.py
> to put these .pyx files elsewhere?  I'm not familiar enough with Cython
> to have a feel for how this typicaly works.
> 
* Note: I haven't touched cython and I last used Pyrex in Fedora 4 or so.

I think that .pyx files should not be included since they're first compiled
to C and then compiled to object code.  They don't do any definite harm to
be included but they don't serve any purpose.  If we found .c or .cpp files
on the filesystem after make install we'd probably rm them for cleanliness
and I think these belong in the same category.

-Toshio

Attachment: pgpzwOhbbr9SA.pgp
Description: PGP signature

--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux