Skip to content

fix: define packages witin setup.py#52

Open
toabctl wants to merge 1 commit into
aws:masterfrom
toabctl:fix-setuppy
Open

fix: define packages witin setup.py#52
toabctl wants to merge 1 commit into
aws:masterfrom
toabctl:fix-setuppy

Conversation

@toabctl
Copy link
Copy Markdown

@toabctl toabctl commented May 26, 2025

Otherwise, creating an sdist with eg. "python3 setup.py sdist" fails because it's not clear for setuptools which of the directories actually contains the python code.

This fixes:

$ python3 setup.py sdist
error: Multiple top-level packages discovered in a flat-layout:
['etc', 'agent', 'packaging'].

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Otherwise, creating an sdist with eg. "python3 setup.py sdist" fails
because it's not clear for setuptools which of the directories
actually contains the python code.

This fixes:

$ python3 setup.py sdist
error: Multiple top-level packages discovered in a flat-layout: \
    ['etc', 'agent', 'packaging'].
@toabctl
Copy link
Copy Markdown
Author

toabctl commented May 27, 2025

@secarola could you have a look please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant