This enables users who haven't cloned the git repository to still run the demos. Use distutils/setuptools' support for data_files to achieve this.
Also remove MANIFEST.in and include_package_data=True, use setuptools' find_packages and package_data instead. This allows finer control over what gets packaged, and fixes a deprecation warning in recent setuptools versions (see
https://github.com/pypa/setuptools/pull/3308 for details). It also prevents Cython-transpiled C source files being included in the wheel distribution, which roughly halves the size of the installed distribution.
This enables users who haven't cloned the git repository to still run the demos. Use distutils/setuptools' support for
data_files
to achieve this.Also remove MANIFEST.in and
include_package_data=True
, use setuptools'find_packages
andpackage_data
instead. This allows finer control over what gets packaged, and fixes a deprecation warning in recent setuptools versions (see https://github.com/pypa/setuptools/pull/3308 for details). It also prevents Cython-transpiled C source files being included in the wheel distribution, which roughly halves the size of the installed distribution.