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

89 lines
3.1 KiB
Python
Raw Normal View History

#!/usr/bin/env python3
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
2017-06-05 00:50:54 +08:00
if not (3, 5, 3) <= sys.version_info[:3] < (3, 6, 0):
raise Exception("You need Python 3.5.3+ (but not 3.6+)")
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 = [
2016-08-25 18:16:05 +08:00
"asyncserial", "numpy", "scipy",
"python-dateutil", "prettytable", "h5py",
"quamash", "pyqtgraph", "pygit2", "aiohttp",
"llvmlite_artiq", "pythonparser", "python-Levenshtein",
2015-02-16 08:31:19 +08:00
]
console_scripts = [
2017-06-05 21:34:28 +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",
"artiq_coreboot = artiq.frontend.artiq_coreboot:main",
"artiq_ctlmgr = artiq.frontend.artiq_ctlmgr:main",
"artiq_devtool = artiq.frontend.artiq_devtool:main",
2017-06-25 15:04:29 +08:00
"artiq_pcap = artiq.frontend.artiq_pcap:main",
2017-06-05 21:34:28 +08:00
"artiq_influxdb = artiq.frontend.artiq_influxdb:main",
"artiq_master = artiq.frontend.artiq_master:main",
"artiq_mkfs = artiq.frontend.artiq_mkfs:main",
"artiq_session = artiq.frontend.artiq_session:main",
"artiq_rpctool = artiq.frontend.artiq_rpctool:main",
"artiq_run = artiq.frontend.artiq_run:main",
"artiq_flash = artiq.frontend.artiq_flash:main",
"aqctl_corelog = artiq.frontend.aqctl_corelog:main",
"aqctl_korad_ka3005p = artiq.frontend.aqctl_korad_ka3005p:main",
2017-06-05 21:34:28 +08:00
"aqctl_lda = artiq.frontend.aqctl_lda:main",
"aqctl_novatech409b = artiq.frontend.aqctl_novatech409b:main",
"aqctl_pdq = artiq.frontend.aqctl_pdq:main",
"aqctl_thorlabs_tcube = artiq.frontend.aqctl_thorlabs_tcube:main",
2015-02-16 08:31:19 +08:00
]
gui_scripts = [
2017-06-05 21:34:28 +08:00
"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(),
2017-07-18 17:31:04 +08:00
license="LGPLv3+",
2016-04-21 22:35:16 +08:00
classifiers="""\
Development Status :: 5 - Production/Stable
Environment :: Console
Environment :: X11 Applications :: Qt
Intended Audience :: Science/Research
License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
2016-04-21 22:35:16 +08:00
Operating System :: Microsoft :: Windows
Operating System :: POSIX :: Linux
Programming Language :: Python :: 3.5
Topic :: Scientific/Engineering :: Physics
Topic :: System :: Hardware
""".splitlines(),
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=[],
include_package_data=True,
ext_modules=[],
entry_points={
"console_scripts": console_scripts,
"gui_scripts": gui_scripts,
2015-12-02 22:15:22 +08:00
}
)