Skip to content

Streamline importing of addon directories for python packages #14340

@LeonarddeR

Description

@LeonarddeR

Is your feature request related to a problem? Please describe.

For addons, the several directories are added to the python package path using a function in the config module. This needs refactoring:

# FIXME: this should not be coupled to the config module....

Describe the solution you'd like

  1. Move the function to addonHandler instead.
  2. Instead of calling addConfigDirsToPythonPackagePath in the initialize function of the several modules like braille, globalPluginhandler and vision, let addonHandler do this.

Describe alternatives you've considered

Leave as is

Metadata

Metadata

Assignees

Labels

audience/nvda-devPR or issue is relevant to NVDA / Add-on developersmerge-earlyMerge Early in a developer cyclep5https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions