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

Consider classpath support feature #39

Open
tabreturn opened this issue Aug 11, 2022 · 2 comments
Open

Consider classpath support feature #39

tabreturn opened this issue Aug 11, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@tabreturn
Copy link
Owner

py5coding/py5generator#110 (reply in thread)

You can set the environment variable $PY5_JARS to a directory. Any jars in that directory or a subdirectory will be automatically added.

If you are using the run_sketch utility, you can add jars with the --classpath command line argument.

If you are using Thonny, the py5 plugin can be enhanced to support either of these two options if it does not do one of them already.

@tabreturn tabreturn added the enhancement New feature or request label Aug 11, 2022
@villares
Copy link
Collaborator

I tried adding the variable to the Thonny options panel but it didn't work for me (but hey, I'm clumsy).
One Idea I had would be for a command that would open a folder pre-made for third-party jars and already in the classpath.

@tabreturn
Copy link
Owner Author

I think this is because the thonny-py5mode plug-in ignores anything the Program arguments field (which I need to look at).

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

No branches or pull requests

2 participants