setuptools-parcels

an alternative interface to package_data


License
MIT
Install
pip install setuptools-parcels==0.0.8

Documentation

setuptools-parcels

An alternative syntaxt to setuptools package_data argument.

Improvements over package_data include:

  • simple way to include all non-python files found in packages

Usage

You can use setuptools-parcels by including it in your setup.py, as an additional argument to setup`s setup_requires function, and an additional parcels parameter:

setup(...
      # add it here
      setup_reqires=["setuptools-parcels", "vcver"],
      parcels={}
)

Without any configuration, parcels will search through all packages, find any non-python files, and include those.

If the package_data is present, parcels will merge it's additions with the existing values.