cherab / core

The core source repository for the Cherab project.
https://www.cherab.info
Other
44 stars 24 forks source link

Package demo scripts and data in sdists and wheels #408

Closed jacklovell closed 9 months ago

jacklovell commented 1 year ago

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.