# Processed in order listed
# Global
#recursive-include leo *.*     # not needed when using `graft`
graft leo
global-exclude *.py[cod] __pycache__ *.so

# Root folder
include *.TXT
include launchLeo.py
include profileLeo.py
include pylint-leo.bat
include pylint-leo.py
include *.nsi
# obscure pip bugfix https://github.com/pypa/setuptools/issues/1694
include pyproject.toml

# Exclusions
# same as scrub_datafiles in setup.py, prior to Github commit 9982d17e2470ac8313050b8a0288cd39d7ad4f5b
prune leo/test
prune leo/doc/html

# Issue #603, https://github.com/leo-editor/leo-editor/issues/603
include leo/doc/html/conf.py
include leo/doc/html/index.html
