From d87383fcd7bf8ec89d701dbe28bef2c261b53a9f Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 1 Dec 2013 05:47:27 +0400 Subject: [PATCH] Install test files: use package_data instead of data_files --- setup.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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", + ]}, ) -- 2.39.5