I want to be able to distribute a custom script and it seems that I cannot create a .tbx file, so I looked into the other methods, but they are all only for Python modules it seems.

What I want to be able to do is have the user still be able to pull up the dialog box prompting for input when they click on the tool, how do I go about packaging the external libraries that I used for this script and distribute it such that the user can simply import the tool into his toolbox and click on it and it will pull up the dialog box for user input?

  • Why can't you share your tbx file? What error do you get? Apr 16 '12 at 20:04
  • well its not that I can't share a .tbx file, its that you cannot include scripts and external libraries in a .tbx file.
    – Nightvein
    Apr 16 '12 at 20:10
  • I was considering using the tool share file system, but I can't seem to locate it?
    – Nightvein
    Apr 16 '12 at 20:12
  • 1
    I'm away from a computer with ArcGIS on it at the moment. Sorry! I don't want to seem rude not replying though! Apr 16 '12 at 20:14
  • In 10.1, they are introducing the Python toolbox
    – kenbuja
    Apr 16 '12 at 21:24

External libraries need to be installed separately. You can import standalone modules but if they require installation of dlls etc you are out of luck (ie SciPy, Numpy etc etc)

  • I'm not sure, but are python files that are imported considered dlls?
    – Nightvein
    Apr 17 '12 at 19:40
  • not unless they have to be installed separately, most python modules (aka *.py) may need to be imported but will need to be distributed with the calling code or installed separately (ie SciPy or Numpy)
    – user681
    Apr 18 '12 at 3:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.