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

Mac OS X build fails due to presence of BUILD file which prevents ./build/ directory from being created #612

Open
manics opened this issue Feb 26, 2025 · 0 comments

Comments

@manics
Copy link

manics commented Feb 26, 2025

Using current master:

$ python setup.py bdist_wheel
running bdist_wheel
running build
running build_py
creating build/lib/tensorflow_privacy
error: could not create 'build/lib/tensorflow_privacy': Not a directory

OS X uses a case-insensitive filesystem, though it maintains the case when displaying names. The build process creates a ./build/ directory. This works on Linux since the filesystem is case-sensitive, but not on OS X. Locally renaming the file to BUILD.txt allows python setup.py bdist_wheel to succeed.

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

No branches or pull requests

1 participant