# PYTHON SCRIPT to PACKAGE MANAGER

**URL:** <https://discourse.mcneel.com/t/python-script-to-package-manager/162636>\
**Category:** Yak\
**Tags:** windows\
**Created:** [July 11, 2023, 5:55am UTC](https://discourse.mcneel.com/t/python-script-to-package-manager/162636 "2023-07-11T05:55:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Drew91](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/drew91/32/481736_2.png) [@Drew91](https://discourse.mcneel.com/u/Drew91)\
**Post date:** [July 11, 2023, 5:55am UTC](https://discourse.mcneel.com/t/python-script-to-package-manager/162636/1 "2023-07-11T05:55:00Z")

</div>

Hi all,  
I have been looking on the forum and the guides provided here ([Rhino - Creating a Rhino Plug-In Package](https://developer.rhino3d.com/guides/yak/creating-a-rhino-plugin-package/)) but I can’t figure it out if there is a way to create a plugin package starting from scripts created with python. So far I was sharing those within the team through the .rhi installer, but I’d like to understand if there is a way to push those to the package manager.  
Thanks for any help!

---

<div class="post-metadata">

**Author:** ![Gijs](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/gijs/32/769882_2.png) [@Gijs](https://discourse.mcneel.com/u/Gijs)\
**Post date:** [July 21, 2023, 4:16pm UTC](https://discourse.mcneel.com/t/python-script-to-package-manager/162636/2 "2023-07-21T16:16:25Z")

</div>

yes, you can make yak packages using the built in script compiler (see new in Rhino 7 toolbar).  
After that you can use [this guide](https://developer.rhino3d.com/guides/yak/pushing-a-package-to-the-server/) to publish them, so they appear in packagemanager

---

<div class="post-metadata">

**Author:** ![Drew91](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/drew91/32/481736_2.png) [@Drew91](https://discourse.mcneel.com/u/Drew91)\
**Post date:** [July 24, 2023, 11:12pm UTC](https://discourse.mcneel.com/t/python-script-to-package-manager/162636/3 "2023-07-24T23:12:50Z")

</div>

This is great, it works thank you!  
There is still one thing that I am trying to figure it out and it’s how to integrate a toolbar with the same package.  
Thanks again for the help.

---

<div class="post-metadata">

**Author:** ![kiteboardshaper](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kiteboardshaper/32/767533_2.png) [@kiteboardshaper](https://discourse.mcneel.com/u/kiteboardshaper)\
**Post date:** [July 25, 2023, 6:25am UTC](https://discourse.mcneel.com/t/python-script-to-package-manager/162636/4 "2023-07-25T06:25:11Z")

</div>

You need to create your matching toolbar in Rhino then save the .rui with the SAME name as your plugin.

Finally your .yak file is actually a .zip file with a different extension. You can rename the .yak as a .zip, open it and copy in your .rui toolbar file. Then close and rename back to .yak.

Your toolbar will then install with your package.

Cheers

DK

---

<div class="post-metadata">

**Author:** ![Drew91](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/drew91/32/481736_2.png) [@Drew91](https://discourse.mcneel.com/u/Drew91)\
**Post date:** [July 27, 2023, 11:05pm UTC](https://discourse.mcneel.com/t/python-script-to-package-manager/162636/5 "2023-07-27T23:05:46Z")

</div>

Thank you!
