Skip to content

Shared config but local install in virtualenv #206

Answered by alejandroautalan
rambit asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @rambit, thanks for trying pygubu.

So my question is: Am I doing it wrong by installing pygubu-designer in my virtualenv, or can I somehow make a local extension to the global config containing only the custom widgets for my project?

You are not doing anything wrong. At the moment the configuration of the custom widgets is global and it is not possible to create an alternative configuration by project or environment.

The problem appears when I create a new project with it's own pygubu-designer installed in its local .venv, then I get the error:
Failed to load custom widget module: '/home/user/dev/project/design/chlorophyllwidgets.py'

As long as you know why the error is occurrin…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rambit
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