Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use a src layout instead of a flat layout #4797

Labels
@harshil21

Description

@harshil21

What kind of feature are you missing? Where do you notice a shortcoming of PTB?

The python packaging guide recommends that libraries which are meant to be importable (that's us) should use a src layout. The pros of using it is listed here -https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/

Describe the solution you'd like

Thetelegram folder will now be insrc/telegram.

Describe alternatives you've considered

Not conforming to python packaging standards

Additional context

uv also initializes a new project with src layout by default for libraries, seehttps://docs.astral.sh/uv/concepts/projects/init/#libraries

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp