Skip to content

Consider turning code directory into small package #2

@matthewfeickert

Description

@matthewfeickert

As the Python code that is in the code directory has dependencies on itself it you might consider turning it into a very very small package instead. This would both make the maintenance and connections of the code much easier to understand but it also frees you from having to manually manipulate PYTHONPATH (which is annoying and prone to error) or from keeping you only working inside the code directory (as PYTHONPATH places the cwd on it by default in the same way PATH does).

Also, use of

from some_package_name import *

should be avoided basically at all costs. This destroys any use namespaces bring to software.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions