enthought / apptools

Other
37 stars 24 forks source link

Port `Workbench` from Pyface to Apptools #331

Open corranwebster opened 1 year ago

corranwebster commented 1 year ago

This is a move of the workbench code from Pyface to Apptools. The top-level changes are:

Toolkit management is done by using a pyface.base_toolkit.Toolkit with the name derived from the pyface.toolkit.toolkit (which handles toolkit selection) and pointing at the appropriate subpackage.

This doesn't attempt to do anything to the Workbench code in Envisage. There is an argument it should be in here as well. We have circular dependencies between the two libraries, and it's not clear which should be "lower-level"

Other than that, changes are around import targets and a little bit of delayed importing because I was seeing circular imports after applying isort...

Checklist

corranwebster commented 1 year ago

Currently not working with an actual toolkit.