Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

develop and install plugin locally #150

Open
NunoCruzSW opened this issue Nov 23, 2023 · 1 comment
Open

develop and install plugin locally #150

NunoCruzSW opened this issue Nov 23, 2023 · 1 comment

Comments

@NunoCruzSW
Copy link

I am new on python ant I wanted to make a backend to commit thing to a custom server posting entries json

I on found thing documentation some information about writing my on backend, but maybe due my lack of expeirence with pyton I am not able to build a package or create the plugin and register it locally.

Do I have to publish the package to the python registry? there's a what to install lit locally from a path?

@sephii
Copy link
Owner

sephii commented Nov 29, 2023

You don’t need to publish your backend plugin to test it.

From your plugin directory, run python -m pip install taxi to install Taxi (make sure you’re in a virtual environment first). If your plugin is registered in the entry points as explained in the docs you should then be able to use it in your configuration file. Note that you might have to install your backend plugin as well (use python -m pip install -e . for that, this will install your plugin in "editable" mode so you don’t need to reinstall it on every change).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants