-
Notifications
You must be signed in to change notification settings - Fork 85
Add a subpackage #160
Copy link
Copy link
Closed
Labels
templateRelated to the template itself, as opposed to the generated codeRelated to the template itself, as opposed to the generated code
Milestone
Metadata
Metadata
Assignees
Labels
templateRelated to the template itself, as opposed to the generated codeRelated to the template itself, as opposed to the generated code
Type
Fields
Give feedbackNo fields configured for issues without a type.
Currently, the template doesn;t use subpackages (i.e. subdirectories to the package directory that have an
__init__.pyin them). Users who want to organize their packages using subpackages currently have to updatesetup.cfg's packages key. There are two options for doing so:find_packagesinsetup.pyto automatically find all subpackagessetup.cfgAdding a subpackage to the automatically generated package makes it obvious how to use subpackages, and additionally offers the opportunity to have an approved style of importing. See e.g. discussion fair-software/howfairis#226.
Additionally, we should then decide on relative imports or absolute (not sure those are the correct terms):
vs.