Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Fix setuptools warning. #90

Merged
merged 1 commit into from
Dec 25, 2024
Merged

Conversation

sabonerune
Copy link
Contributor

I made a mistake with PR #85.

I made a mistake with PR r9y9#85.
Copy link
Contributor Author

@sabonerune sabonerune left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was all my mistake to work without specifying --verbose.

recursive-include lib *.cpp *.c *.h README LICENSE COPYING CMakeLists.txt *.in
recursive-include lib *.cpp *.c *.h README COPYING CMakeLists.txt *.in
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Get the warning: warning: no files found matching 'LICENSE' under directory 'lib'.
This is because there is no file called LICENSE in the lib directory.

Comment on lines -70 to +71
[tool.setuptools.packages]
find.namespaces = false
[tool.setuptools.packages.find]
include = ["pyopenjtalk*"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Get the warning: Package would be ignored.
The cause is that you set namespaces = false.

pyoenjtalk/htsvoice should have been a namespace package.
https://setuptools.pypa.io/en/latest/userguide/datafiles.html#subdirectory-for-data-files
https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#finding-simple-packages

@sabonerune sabonerune marked this pull request as ready for review December 19, 2024 22:55
Copy link
Owner

@r9y9 r9y9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@r9y9 r9y9 merged commit 42cf16f into r9y9:master Dec 25, 2024
6 checks passed
@sabonerune sabonerune deleted the fix/setuptools-warning branch December 25, 2024 13:35
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.

2 participants