Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
RobertLucian opened this issue Jul 6, 2020 · 0 comments · Fixed by #1709
Closed

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

RobertLucian opened this issue Jul 6, 2020 · 0 comments · Fixed by #1709
Assignees
Labels
refactor Improve code quality
Milestone

Comments

@RobertLucian
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Improve code quality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant