Skip to content

Automate additional setup steps #345

Description

@Spenhouet

I'm using uv and the setup docs instruct me to manually edit the configuration: https://davidvujic.github.io/python-polylith-docs/setup/#edit-the-configuration_1

I actually was confused in which configuration to make the change, as that is not mentioned in the documentation. Would be helpful to explicitly write: Edit the pyproject.toml configuration

Even better would be if polylith would perform the configuration for me.
When I execute uv run poly create workspace, could it be possible to detect what system is used and automatically update the configuration?

Activity

  1. Spenhouet commented on Jun 15, 2025

    @Spenhouet
    Author

    The docs also mention

    Finally, remove the src boilerplate code that was added by uv in the first step

    which was not the case for me.

  2. DavidVujic commented on Jun 15, 2025

    @DavidVujic
    Owner

    Thanks! ⭐

    The last part with the boilerplate: yes, that's been removed by the uv team. Initially, uv created a boilerplate project structure during init. I have removed it from the docs, and also made some smaller changes in that section (about the project configuration).

  3. DavidVujic commented on Jun 15, 2025

    @DavidVujic
    Owner

    I'll give the automation some thought! Since this is a once-done thing, and because uv is constantly changing, I have let this part be manual.

  4. DavidVujic commented on Jun 17, 2025

    @DavidVujic
    Owner

    Transforming this to the ideas section.

  5. Repository owner locked and limited conversation to collaborators on Jun 17, 2025
  6. converted this issue into a discussion #349 on Jun 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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