Select to view content in your preferred language

Help with converting a python toolbox .pyt file to a full python wheel / package.

926
6
08-23-2022 10:17 PM
SethStenzel
Emerging Contributor

Greetings,

I'm having issues turning a python toolbox into a sharable installable wheel package.

I've followed the samples in the docs multiple times. After doing so, I can import my package in the python console, but no matter what I do, the toolbox never shows up as an available toolbox in the Geoprocessing pane.

Is there another step I'm missing that has to be done once you convert the toolbox to a wheel file for it to show up there?

Any help would be appreciated.

6 Replies
DanPatterson
MVP Esteemed Contributor
DanPatterson
MVP Esteemed Contributor

I haven't seen a custom toolbox show up in the pile of esri's tools.  You add the toolbox to your project using catalog and use it from there.  The tools are supposed to be searchable  is you have provided a non-conflicting alias to the toolbox


... sort of retired...
0 Kudos
SethStenzel
Emerging Contributor

So this feature is what I'm looking for, which is in the guide. But I can't ever seem to get mine to show up in the pane or be searchable.

In ArcGIS Pro, the SamplePythonToolbox tool is available from the Geoprocessing pane and is searchable.

0 Kudos
DanPatterson
MVP Esteemed Contributor

Don't know, but in Pro 3, I add my toolbox and I can search by toolbox name or tool name

npgGeomToolbox01.pngnpgGeomToolbox021.png


... sort of retired...
0 Kudos
SethStenzel
Emerging Contributor

Thanks for the help. In the end, I got things working and had a repeatable process. Part of the issue was that I was trying to install it into the default env instead of a clone. Once I have my notes organized, I'll try and post my solution/resolution here.

0 Kudos