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

@ -6,23 +6,25 @@ import os
setup( setup(
name = "artiq", name="artiq",
version = "0.0+dev", version="0.0+dev",
author = "M-Labs / NIST Ion Storage Group", author="M-Labs / NIST Ion Storage Group",
author_email = "sb@m-labs.hk", author_email="sb@m-labs.hk",
url = "http://m-labs.hk/artiq", url="http://m-labs.hk/artiq",
description = "A control system for trapped-ion experiments", description="A control system for trapped-ion experiments",
long_description = open("README.rst").read(), long_description=open("README.rst").read(),
license = "BSD", license="BSD",
install_requires = [ install_requires=[
"sphinx", "pyserial", "numpy", "scipy", "prettytable" "sphinx", "pyserial", "numpy", "scipy", "prettytable"
], ],
extras_require = {}, extras_require={},
dependency_links = [], dependency_links=[],
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"))
) )