forked from M-Labs/artiq
1
0
Fork 0
artiq/setup.py

59 lines
1.8 KiB
Python
Raw Normal View History

#!/usr/bin/env python3
2014-05-28 02:40:42 +08:00
from setuptools import setup, find_packages
import os
2014-05-28 02:40:42 +08:00
requirements = [
2015-02-16 08:31:19 +08:00
"sphinx", "sphinx-argparse", "pyserial", "numpy", "scipy",
"python-dateutil", "prettytable", "h5py", "pydaqmx"
2015-02-16 08:31:19 +08:00
]
scripts = [
2015-02-16 08:31:19 +08:00
"artiq_client=artiq.frontend.artiq_client:main",
"artiq_compile=artiq.frontend.artiq_compile:main",
2015-02-16 08:31:19 +08:00
"artiq_ctlmgr=artiq.frontend.artiq_ctlmgr:main",
"artiq_master=artiq.frontend.artiq_master:main",
2015-04-30 20:03:11 +08:00
"artiq_mkfs=artiq.frontend.artiq_mkfs:main",
2015-02-16 08:31:19 +08:00
"artiq_rpctool=artiq.frontend.artiq_rpctool:main",
"artiq_run=artiq.frontend.artiq_run:main",
"lda_controller=artiq.frontend.lda_controller:main",
"novatech409b_controller=artiq.frontend.novatech409b_controller:main",
"pdq2_client=artiq.frontend.pdq2_client:main",
"pdq2_controller=artiq.frontend.pdq2_controller:main",
"pxi6733_controller=artiq.frontend.pxi6733_controller:main"
2015-04-22 10:00:56 +08:00
"thorlabs_tcube_controller=artiq.frontend.thorlabs_tcube_controller:main",
2015-02-16 08:31:19 +08:00
]
if os.getenv("ARTIQ_GUI") == "1":
requirements += ["pygobject", "gbulb", "cairoplot"]
scripts += [
2015-02-16 08:31:19 +08:00
"artiq_gui=artiq.frontend.artiq_gui:main"
]
2014-05-28 02:40:42 +08:00
setup(
2014-12-30 18:53:27 +08:00
name="artiq",
version="0.0+dev",
author="M-Labs / NIST Ion Storage Group",
author_email="sb@m-labs.hk",
url="http://m-labs.hk/artiq",
description="A control system for trapped-ion experiments",
long_description=open("README.rst").read(),
license="BSD",
install_requires=requirements,
2014-12-30 18:53:27 +08:00
extras_require={},
dependency_links=[
"git+https://github.com/m-labs/gbulb.git#egg=gbulb",
"git+https://github.com/m-labs/cairoplot3.git#egg=cairoplot"
],
2014-12-30 18:53:27 +08:00
packages=find_packages(),
namespace_packages=[],
test_suite="artiq.test",
package_data={"artiq": [os.path.join("gui", "icon.png")]},
ext_modules=[],
entry_points={
"console_scripts": scripts,
}
)