setup.py: fix data file installation

This commit is contained in:
Sebastien Bourdeauducq 2014-12-30 18:53:27 +08:00
parent 1ada80cd6d
commit 32b79207b6
1 changed files with 17 additions and 15 deletions

View File

@ -22,7 +22,9 @@ setup(
packages=find_packages(), packages=find_packages(),
namespace_packages=[], namespace_packages=[],
test_suite="artiq.test", test_suite="artiq.test",
include_package_data = True, data_files=[
(os.path.join("artiq", "gui"),
[os.path.join("artiq", "gui", "icon.png")])],
ext_modules=[], ext_modules=[],
scripts=glob(os.path.join("frontend", "*.py")) scripts=glob(os.path.join("frontend", "*.py"))
) )