Skip to content

Template for making plug-ins for the Python-Microscopy Environment (PYME)

License

Notifications You must be signed in to change notification settings

python-microscopy/pyme-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyme-plugin

Template for making plug-ins for the Python-Microscopy Environment (PYME)

Instructions

  1. Clone the repository, add your recipe module files, dsviewer module files, and visgui module files to the respective folders in pyme-plugin/package_name.
  2. Change the name of the pyme-plugin/package_name directory.
  3. In the plugins directory, go into the dsviewer, recipes, and visgui folders and edit package_name.txt to include your actual package name, and to point to each of your module files with a new line. For example, two dsviewer module files could have a package_name.txt file of:
mynewpackage.dsviewer_modules.my_core_functions
mynewpackage.dsviewer_modules.my_other_dsview_modules
  1. Change the filenames of the package_name.txt files to match your package.
  2. In the top directory, edit setup.py to include your package name, version, and description.
  3. Run python setup.py develop or python setup.py develop from the top directory. This will install your package and run the post-install script (install_plugin.py) to register the plugin with PYME. Any additional configuration you would like to be automatic for users on install (e.g. a GUI pop up) can be added to that script.

About

Template for making plug-ins for the Python-Microscopy Environment (PYME)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages