Skip to content

is putting the package files directly in src/ supported? #3978

Answered by webknjaz
calestyo asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, that should work. Though, I don't remember if you need to declare those modules explicitly, you might want to experiment with that.
Note that things under src/ are going to be installed directly into site-packages/ si make sure those top-level module names are unique and won't collide with someone else's distribution package.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@calestyo
Comment options

@webknjaz
Comment options

Answer selected by calestyo
@calestyo
Comment options

Comment options

You must be logged in to vote
5 replies
@abravalheri
Comment options

@calestyo
Comment options

@calestyo
Comment options

@calestyo
Comment options

@abravalheri
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants