From: Oleg Broytman Date: Sun, 1 Dec 2013 01:47:27 +0000 (+0400) Subject: Install test files: use package_data instead of data_files X-Git-Tag: 2.1.3~30 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=d87383fcd7bf8ec89d701dbe28bef2c261b53a9f;p=m_lib.git Install test files: use package_data instead of data_files --- diff --git a/setup.py b/setup.py index 4615b53..41fec96 100755 --- a/setup.py +++ b/setup.py @@ -16,9 +16,9 @@ setup(name = "m_lib", "m_lib.net", "m_lib.net.ftp", "m_lib.net.www", "m_lib.pbar", "m_lib.pbar.test", "m_lib.rus", ], - data_files = [("m_lib/flad/test", [ - "m_lib/flad/test/test.cfg", - "m_lib/flad/test/test.txt", - "m_lib/flad/test/comment.txt", - ])] + package_data = {'m_lib.flad': [ + "test/comment.txt", + "test/test.cfg", + "test/test.txt", + ]}, )