enthought / enthought/traits

Make traits.examples.introduction a non-package?

Open
#1,356 6 comments 0 reactions 0 assignees View on GitHub
component: examples type: cleanup
Dominant language
Python
Stars
462
Forks
90
PR merge metrics
No merged PRs in 30d

Description

After #1348, `traits.examples.introduction` is now a package that can be imported:
```
from traits.examples.introduction import *
```

This makes the `introduction` a package and makes it look like part of the public library. But I believe the folder of Python files is also intended as data, not package.

Note that `introduction` has an `__init__.py` file in the `introduction` folder. However I believe it was added before the `etsdemo` switched to using an `index.rst` file to capture the folder description (see https://github.com/enthought/traitsui/issues/849).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.