Skip to content

Pack the internal modules of Cortex into a Python package #1206

Closed
@RobertLucian

Description

@RobertLucian

Description

Create a Python package containing all internal modules belonging to Cortex instead of importing them using absolute/relative paths.

Motivation

It can avoid collisions with modules added under the root directory of a Cortex project. It also helps in keeping the development environment cleaner (and more compact). Reduces the coupling.

Additional context

Use the standard setuptools package to create the Python package.
When installing the Cortex Python package into each of the images' environments, use pip install -e . to allow live editing of the package.

Metadata

Metadata

Assignees

Labels

refactorImprove code quality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions