mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-25 09:21:10 +00:00
setup: Don't include actions/__pycache__ during installation
Perhaps due to recent changes in distutils, the setup script fails during install with an error that it is unable to copy actions/__pycache__. Don't attempt to copy this directory. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
ea01ef6f80
commit
bb7890263b
3
setup.py
3
setup.py
@ -280,7 +280,8 @@ setuptools.setup(
|
||||
},
|
||||
exclude_package_data={'': ['*/data/*']},
|
||||
data_files=_gather_data_files() +
|
||||
[('/usr/share/plinth/actions', glob.glob(os.path.join('actions', '*'))),
|
||||
[('/usr/share/plinth/actions', glob.glob(
|
||||
os.path.join('actions', '[a-z]*'))),
|
||||
('/usr/share/man/man1', ['doc/plinth.1'])],
|
||||
cmdclass={
|
||||
'install': CustomInstall,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user