-
-
Notifications
You must be signed in to change notification settings - Fork 783
Streamline importing of addon directories for python packages #14340
Copy link
Copy link
Closed
Labels
audience/nvda-devPR or issue is relevant to NVDA / Add-on developersPR or issue is relevant to NVDA / Add-on developersmerge-earlyMerge Early in a developer cycleMerge Early in a developer cyclep5https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priorityhttps://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.Has been triaged, issue is waiting for implementation.
Milestone
Metadata
Metadata
Assignees
Labels
audience/nvda-devPR or issue is relevant to NVDA / Add-on developersPR or issue is relevant to NVDA / Add-on developersmerge-earlyMerge Early in a developer cycleMerge Early in a developer cyclep5https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priorityhttps://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.Has been triaged, issue is waiting for implementation.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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:
nvda/source/config/__init__.py
Line 487 in f674505
Describe the solution you'd like
addConfigDirsToPythonPackagePathin the initialize function of the several modules like braille, globalPluginhandler and vision, let addonHandler do this.Describe alternatives you've considered
Leave as is