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

Add missing init file for cybin module #256

Merged
merged 7 commits into from
Jun 9, 2024

Conversation

aisk
Copy link
Member

@aisk aisk commented Apr 3, 2024

To dismiss the deprecation warning when installing:

/home/xxxxx/Codes/thriftpy2/venv/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'thriftpy2.protocol.cybin' as data is deprecated, please list it in `packages`.
    !!


    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'thriftpy2.protocol.cybin' as an importable package,
    but it is not listed in the `packages` configuration of setuptools.

    'thriftpy2.protocol.cybin' has been automatically added to the distribution only
    because it may contain data files, but this behavior is likely to change
    in future versions of setuptools (and therefore is considered deprecated).

    Please make sure that 'thriftpy2.protocol.cybin' is included as a package by using
    the `packages` configuration field or the proper discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" and "data files" on setuptools
    documentation page.


!!

@aisk aisk force-pushed the dismiss-build-error branch from 7c42cda to 78054aa Compare April 3, 2024 11:07
@aisk aisk merged commit a3db325 into Thriftpy:master Jun 9, 2024
18 checks passed
@aisk aisk deleted the dismiss-build-error branch June 9, 2024 07:57
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