Python setuptools and files to be installed in the installation prefix

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

 



Hi folks

While trying to figure out a way to install some desktop specific files (such as APP.desktop or APP.appdata.xml) within the installation prefix (instead of python installation) using setuptools, I started wondering if it's actually a good idea.

Is this something that should be handled by Linux packagers (as it is now)?

The application I'm working on (upstream) to improve the desktop related files is Frescobaldi. As you can see here¹, the desktop file is copied in the right directory thanks to the spec file.

Some reasons to keep this behaviour:

- setuptools doesn't provide a way to uninstall a package so you have to do it manually, while a package removes all the installed files - if you want to run a python package from source, there's no need to install it

I'd be interested to know your thoughts.

Thanks
Federico

¹ https://src.fedoraproject.org/rpms/frescobaldi/blob/master/f/frescobaldi.spec#_75
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx




[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