artiq/setup.py

68 lines
2.3 KiB
Python
Raw Normal View History

2015-12-20 23:20:38 +08:00
#!/usr/bin/env python3.5
2014-05-28 02:40:42 +08:00
2015-12-02 22:15:22 +08:00
from setuptools import setup, find_packages
import sys
2015-11-09 11:33:38 +08:00
import versioneer
2015-08-07 15:51:56 +08:00
2015-12-20 23:26:48 +08:00
if sys.version_info[:3] < (3, 5, 1):
raise Exception("You need Python 3.5.1+")
2014-05-28 02:40:42 +08:00
2015-08-17 15:44:40 +08:00
# Depends on PyQt5, but setuptools cannot check for it.
requirements = [
2015-02-16 08:31:19 +08:00
"sphinx", "sphinx-argparse", "pyserial", "numpy", "scipy",
"python-dateutil", "prettytable", "h5py",
"quamash", "pyqtgraph", "pygit2", "aiohttp",
"llvmlite_artiq", "pythonparser", "python-Levenshtein",
"lit", "OutputCheck",
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",
"artiq_coreanalyzer=artiq.frontend.artiq_coreanalyzer:main",
"artiq_coreconfig=artiq.frontend.artiq_coreconfig:main",
"artiq_corelog=artiq.frontend.artiq_corelog:main",
2015-02-16 08:31:19 +08:00
"artiq_ctlmgr=artiq.frontend.artiq_ctlmgr:main",
2015-05-22 17:05:15 +08:00
"artiq_gui=artiq.frontend.artiq_gui:main",
2015-08-17 15:44:40 +08:00
"artiq_influxdb=artiq.frontend.artiq_influxdb:main",
2015-02-16 08:31:19 +08:00
"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",
"artiq_flash=artiq.frontend.artiq_flash:main",
2015-02-16 08:31:19 +08:00
"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",
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
]
2014-05-28 02:40:42 +08:00
setup(
2014-12-30 18:53:27 +08:00
name="artiq",
2015-11-09 11:33:38 +08:00
version=versioneer.get_version(),
2016-01-10 21:42:04 +08:00
cmdclass=versioneer.get_cmdclass(),
2014-12-30 18:53:27 +08:00
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(),
2015-10-23 09:09:45 +08:00
license="GPL",
install_requires=requirements,
2014-12-30 18:53:27 +08:00
extras_require={},
dependency_links=[
2015-11-12 22:00:04 +08:00
"git+https://github.com/m-labs/pyqtgraph.git@develop#egg=pyqtgraph",
"git+https://github.com/m-labs/llvmlite.git@artiq#egg=llvmlite_artiq"
],
2014-12-30 18:53:27 +08:00
packages=find_packages(),
namespace_packages=[],
test_suite="artiq.test",
include_package_data=True,
ext_modules=[],
entry_points={
"console_scripts": scripts,
2015-12-02 22:15:22 +08:00
}
)