On Wednesday, 22 October 2014 19:43:25 UTC+1, luc2  wrote:
> hello, would you know how to make data_files work in setuptools ?
> i can't figure out how to put datas in the generated .tar.gz

If you're creating an sdist then you'll need to create a MANIFEST.in file in 
the same folder as setup.py with the following contents

    include share/test_file.txt

If you're creating a bdist (egg or wheel) the parameter name you need is

    package_data={'share': [share/test_file.txt]},
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to