Skip to content

current package structure can clash with other packages #738

Description

@EvaMart

Currently, top-level import names are generic:

  • adapters
  • application
  • domain

Those names are quite broad and could clash with other packages.

A more robust structure would be:

src/
  rsetl/
    __init__.py
    adapters/
    application/
    config/
    domain/
    infrastructure/
    shared/

Then the entry point becomes:

[project.scripts]
rsetl = "rsetl.adapters.cli.main:main"

And imports become:

from rsetl.adapters.cli import check_environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions