Skip to content

Add option for monorepo approach #341

@xmnlab

Description

@xmnlab

We need to add support for monorepo approach.

For example, if the author wants to have multiple python packages inside a single repository, scicookie should be able to create a structure for that.

This PR could be used as reference: https://github.com/arxlang/astx/pull/226/checks

These are a summary of the required changes:

  • for example, package folder is moved from src/pk_name or just pkg_name to libs/pk-name/src/pkg_name or libs/pkg-name/pkg_name, and the tests folder are moved to libs/pkg-name/
  • create pyproject.toml that points to one or more packages int he libs, and each libs has its own pyproject.toml.
  • creates scripts/build.sh and scripts/publish.sh which will be used in the semantic release configuration
  • updates the paths used in the semantic release configuration
  • update the paths used by pyproject.toml and .pre-commit-hooks.yaml if necessary

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions