Closed xrotwang closed 3 years ago
It used to be possible to import pycldf.sources.Sources on package level, i.e. from pycldf import Sources (see https://github.com/clld/clld/blob/cce7abeb504e0e29b61e7d14e93a1dc1d2294a3b/src/clld/project_template/%7B%7Bcookiecutter.directory_name%7D%7D/%7B%7Bcookiecutter.directory_name%7D%7D/scripts/initializedb.py#L4 ). Thus, Sources should be added to pycldf.sources.__all__.
pycldf.sources.Sources
from pycldf import Sources
Sources
pycldf.sources.__all__
It used to be possible to import
pycldf.sources.Sources
on package level, i.e.from pycldf import Sources
(see https://github.com/clld/clld/blob/cce7abeb504e0e29b61e7d14e93a1dc1d2294a3b/src/clld/project_template/%7B%7Bcookiecutter.directory_name%7D%7D/%7B%7Bcookiecutter.directory_name%7D%7D/scripts/initializedb.py#L4 ). Thus,Sources
should be added topycldf.sources.__all__
.