# How to build Python plugins locally in the latest python package

**URL:** <https://forum.opentap.io/t/how-to-build-python-plugins-locally-in-the-latest-python-package/1533>\
**Category:** Technical\
**Created:** [March 14, 2024, 1:26am UTC](https://forum.opentap.io/t/how-to-build-python-plugins-locally-in-the-latest-python-package/1533 "2024-03-14T01:26:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shwethakh](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@shwethakh](https://forum.opentap.io/u/shwethakh)\
**Post date:** [March 14, 2024, 1:26am UTC](https://forum.opentap.io/t/how-to-build-python-plugins-locally-in-the-latest-python-package/1533/1 "2024-03-14T01:26:20Z")

</div>

In the latest version of Python package (3.1.0), there seems to be no option to build a python plugin locally - like there was in version 2 of the python package. The documents also only speak about creating a tap package directly. How do I build my plugin to test within OpenTAP first before the plugin is ready for distribution? Please see attached image

 ![build-not-available](https://us1.discourse-cdn.com/flex020/uploads/opentap/original/2X/6/62b9f2a6aa1c94ecf6ff4f298f1a418ff060ccff.jpeg)

---

<div class="post-metadata">

**Author:** ![rolf\_madsen](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@rolf\_madsen](https://forum.opentap.io/u/rolf_madsen)\
**Post date:** [March 18, 2024, 11:50am UTC](https://forum.opentap.io/t/how-to-build-python-plugins-locally-in-the-latest-python-package/1533/2 "2024-03-18T11:50:41Z")

</div>

Hi @shwethakh,

Thanks for the question.

That step is not necessary in the new version of the Python plugin. In 3.0 we started loading the .py files instead of having the additional step of building a wrapper DLL.

We recommend you distribute the py files in a TapPackage, but that is the same as before.

---

<div class="post-metadata">

**Author:** ![shwethakh](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@shwethakh](https://forum.opentap.io/u/shwethakh)\
**Post date:** [March 19, 2024, 12:14am UTC](https://forum.opentap.io/t/how-to-build-python-plugins-locally-in-the-latest-python-package/1533/3 "2024-03-19T00:14:53Z")

</div>

Thanks @rolf_madsen . Does this mean we can test the code locally directly using .py files without any dlls? For example any test steps that we build will be visible in the editor if the .py file of the test step is directly present under the OpenTAP installation under Packages folder?

---

<div class="post-metadata">

**Author:** ![rolf\_madsen](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@rolf\_madsen](https://forum.opentap.io/u/rolf_madsen)\
**Post date:** [March 19, 2024, 8:42pm UTC](https://forum.opentap.io/t/how-to-build-python-plugins-locally-in-the-latest-python-package/1533/4 "2024-03-19T20:42:50Z")

</div>

Yes, thats the idea. Actually we now support a more reproducible and isolated way of developing your Python-based plugin, by managing an OpenTAP installation separately from your main installation.

You can read more about it here: [Creating an OpenTAP plugin | OpenTAP Python Integration](https://doc.opentap.io/OpenTap.Python/TAP_Python_Help/Creating_a_plugin.html#develop-the-plugin-inside-the-packages-folder)
