Skip to content

Fix issue with examples being included in wheel.#132

Closed
ethanluoyc wants to merge 3 commits intogoogle-deepmind:mainfrom
ethanluoyc:fix-package-inclusion
Closed

Fix issue with examples being included in wheel.#132
ethanluoyc wants to merge 3 commits intogoogle-deepmind:mainfrom
ethanluoyc:fix-package-inclusion

Conversation

@ethanluoyc
Copy link

The examples directory should not be included in the package.

setup.py Outdated

import os
from setuptools import find_namespace_packages
from setuptools import find_packages
Copy link
Member

Choose a reason for hiding this comment

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

Is this change necessary?

Copy link
Author

Choose a reason for hiding this comment

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

I don't think rlax is a namespace so find_packages should suffice. find_namespace_packages add docs to the package which is not desired (I can exclude that of course).

Copy link
Author

Choose a reason for hiding this comment

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

OK, I think you are suggesting this because dm-haiku uses this. But I just realized that dm-haiku has a similar problem, I will open another issue there as well.

@ethanluoyc ethanluoyc closed this Oct 2, 2025
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