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

setup.py omits assets when kivymd is in directory path #1722

Open
charliermarsh opened this issue Jul 24, 2024 · 0 comments
Open

setup.py omits assets when kivymd is in directory path #1722

charliermarsh opened this issue Jul 24, 2024 · 0 comments

Comments

@charliermarsh
Copy link

If you build kivymd from a directory that has kivymd in the path, the .kv and other asset files are omitted, as out_files.append(filepath.split(f"kivymd{os.sep}")[1]) (in setup.py) truncates at the first instance of kivymd.

For example: running python -m build from ~/workspace/kivymd/foo creates kivymd-2.0.1.dev0.tar.gz without any .kv files in it. While running from ~/workspace/bar/foo/ includes the .kv files.

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