Skip to content

Local development of a PEP561 plugin #3506

Answered by matmair
wolflu05 asked this question in Q&A
Discussion options

You must be logged in to vote

@wolflu05 this probalby will take a few posts so it probably would work better as a bug / issue ut I am going to try anyway.

There are a few things that could happen here. Please ensure all following conditions are met. This is all for development. For deploying I would strongly recomment to distribute via pypi or similar indexes.
Requirements:

  • plugins are enabled
  • plugin_dir points to the right directory
  • __init__.py file in plugin_dir -> needed for module dicsovery
  • __init__.py file in plugin subdir -> needed for module dicsovery
  • inventree-server (the application, not the linux host it runs on) must be restarted once after placing the file
  • specific plugin enabled in global settings\plugin…

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@wolflu05
Comment options

wolflu05 Aug 11, 2022
Collaborator Author

@matmair
Comment options

@wolflu05
Comment options

wolflu05 Aug 11, 2022
Collaborator Author

@matmair
Comment options

@wolflu05
Comment options

wolflu05 Aug 13, 2022
Collaborator Author

Answer selected by wolflu05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants