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
|
2015-06-03 21:56:54 +08:00
|
|
|
import sys
|
2014-12-10 12:13:10 +08:00
|
|
|
|
2015-11-09 11:33:38 +08:00
|
|
|
import versioneer
|
|
|
|
|
2015-08-07 15:51:56 +08:00
|
|
|
|
2016-07-07 14:55:21 +08:00
|
|
|
if sys.version_info[:3] < (3, 5, 2):
|
|
|
|
raise Exception("You need Python 3.5.2+")
|
2014-05-28 02:40:42 +08:00
|
|
|
|
2015-08-17 15:44:40 +08:00
|
|
|
|
2016-02-09 02:42:08 +08:00
|
|
|
# Depends on PyQt5, but setuptools cannot check for it.
|
2015-02-06 20:16:55 +08:00
|
|
|
requirements = [
|
2016-08-26 03:52:46 +08:00
|
|
|
"sphinx", "sphinx-argparse", "sphinxcontrib-wavedrom", "sphinx_rtd_theme",
|
2016-08-25 18:16:05 +08:00
|
|
|
"asyncserial", "numpy", "scipy",
|
2016-02-09 02:42:08 +08:00
|
|
|
"python-dateutil", "prettytable", "h5py",
|
2015-09-27 23:22:13 +08:00
|
|
|
"quamash", "pyqtgraph", "pygit2", "aiohttp",
|
2015-11-16 04:09:40 +08:00
|
|
|
"llvmlite_artiq", "pythonparser", "python-Levenshtein",
|
|
|
|
"lit", "OutputCheck",
|
2016-11-11 04:25:15 +08:00
|
|
|
"paramiko"
|
2015-02-16 08:31:19 +08:00
|
|
|
]
|
|
|
|
|
2016-04-10 16:28:25 +08:00
|
|
|
console_scripts = [
|
2015-02-16 08:31:19 +08:00
|
|
|
"artiq_client=artiq.frontend.artiq_client:main",
|
2015-04-07 15:41:32 +08:00
|
|
|
"artiq_compile=artiq.frontend.artiq_compile:main",
|
2015-12-24 18:51:11 +08:00
|
|
|
"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",
|
2016-11-11 04:25:15 +08:00
|
|
|
"artiq_devtool=artiq.frontend.artiq_devtool: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",
|
2016-01-05 07:52:53 +08:00
|
|
|
"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
|
|
|
]
|
2015-02-07 01:37:35 +08:00
|
|
|
|
2016-04-10 16:28:25 +08:00
|
|
|
gui_scripts = [
|
|
|
|
"artiq_browser=artiq.frontend.artiq_browser:main",
|
|
|
|
"artiq_dashboard=artiq.frontend.artiq_dashboard:main",
|
|
|
|
]
|
|
|
|
|
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(),
|
2016-04-21 22:35:16 +08:00
|
|
|
author="M-Labs",
|
|
|
|
author_email="artiq@lists.m-labs.hk",
|
2016-02-11 00:20:29 +08:00
|
|
|
url="https://m-labs.hk/artiq",
|
2016-04-21 22:35:16 +08:00
|
|
|
description="Advanced Real-Time Infrastructure for Quantum physics",
|
2016-05-11 21:32:33 +08:00
|
|
|
long_description=open("README.rst", encoding="utf-8").read(),
|
2016-04-21 22:35:16 +08:00
|
|
|
license="GPLv3+",
|
|
|
|
classifiers="""\
|
|
|
|
Development Status :: 5 - Production/Stable
|
|
|
|
Environment :: Console
|
|
|
|
Environment :: X11 Applications :: Qt
|
|
|
|
Intended Audience :: Science/Research
|
|
|
|
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
|
|
Operating System :: Microsoft :: Windows
|
|
|
|
Operating System :: POSIX :: Linux
|
|
|
|
Programming Language :: Python :: 3.5
|
|
|
|
Topic :: Scientific/Engineering :: Physics
|
|
|
|
Topic :: System :: Hardware
|
|
|
|
""".splitlines(),
|
2015-02-06 20:16:55 +08:00
|
|
|
install_requires=requirements,
|
2014-12-30 18:53:27 +08:00
|
|
|
extras_require={},
|
2015-07-17 01:56:46 +08:00
|
|
|
dependency_links=[
|
2015-11-12 22:00:04 +08:00
|
|
|
"git+https://github.com/m-labs/pyqtgraph.git@develop#egg=pyqtgraph",
|
2015-08-28 23:59:54 +08:00
|
|
|
"git+https://github.com/m-labs/llvmlite.git@artiq#egg=llvmlite_artiq"
|
2015-07-17 01:56:46 +08:00
|
|
|
],
|
2014-12-30 18:53:27 +08:00
|
|
|
packages=find_packages(),
|
|
|
|
namespace_packages=[],
|
2015-11-09 10:47:14 +08:00
|
|
|
include_package_data=True,
|
2014-12-10 12:13:10 +08:00
|
|
|
ext_modules=[],
|
2015-01-17 08:11:21 +08:00
|
|
|
entry_points={
|
2016-04-10 16:28:25 +08:00
|
|
|
"console_scripts": console_scripts,
|
|
|
|
"gui_scripts": gui_scripts,
|
2015-12-02 22:15:22 +08:00
|
|
|
}
|
2014-12-10 12:13:10 +08:00
|
|
|
)
|