Rename attribute dead_scopes to deadScopes.
Method Scope.__init__ is not needed.
Do not report undefined name in __all__ if import * is used.
Use setuptools entry_points to create the script on Windows too.