Re: where do dnf plugins go?

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

 



On 19 July 2015 at 22:34, stan <stanl-fedorauser@xxxxxxxxxxx> wrote:
> On Sun, 19 Jul 2015 14:07:40 -0400
> Tom Horsley <horsley1953@xxxxxxxxx> wrote:
>
>> The DNF documentation desperately attempts to avoid actually
>> saying anything :-(. For pluginpath it says:
>>
>> List of directories that are searched for plugins to load. Plugins
>> found in any of the directories in this configuration option are
>> used. The default contains a Python version-specific path.
>>
>> The installed /etc/dnf/dnf.conf file doesn't explicitly say anything
>> about pluginpath, so it must be hard coded somewhere.
>>
>> So what the heck is the actual contents of this pluginpath config
>> setting on fedora 22? Where do I install a .py module if I'm
>> trying to write my own plugin?
>
> Maybe install a dnf plugin package.  Then run
> rpm -q --files [plugin pkg name]
> to see where it put its files?  Not an answer to your question, but
> might get you closer.

Or use "repoquery" so you don't have to install the package.

  $ repoquery -q -l python-dnf-plugins-extras-local

  [ ... snip yum deprecation warning ...]

  /etc/dnf/plugins/local.conf
  /usr/lib/python2.7/site-packages/dnf-plugins/local.py
  /usr/lib/python2.7/site-packages/dnf-plugins/local.pyc
  /usr/lib/python2.7/site-packages/dnf-plugins/local.pyo
  /usr/share/man/man8/dnf.plugin.local.8.gz

Cheers,

Dave...

-- 
Dave Cross :: dave@xxxxxxxxxxx
http://dave.org.uk/
@davorg
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux