2017-01-30 09:24:43 +08:00
|
|
|
#!/usr/bin/env python3
|
2014-05-28 02:40:42 +08:00
|
|
|
|
2022-12-01 17:26:52 +08:00
|
|
|
from setuptools import setup, find_namespace_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
|
|
|
|
2024-08-12 11:40:34 +08:00
|
|
|
if sys.version_info[:2] < (3, 11):
|
|
|
|
raise Exception("You need Python 3.11+")
|
2014-05-28 02:40:42 +08:00
|
|
|
|
2015-08-17 15:44:40 +08:00
|
|
|
|
2023-09-17 06:52:13 +08:00
|
|
|
# Depends on PyQt6, but setuptools cannot check for it.
|
2015-02-06 20:16:55 +08:00
|
|
|
requirements = [
|
2019-04-20 10:51:29 +08:00
|
|
|
"numpy", "scipy",
|
2023-09-15 07:11:27 +08:00
|
|
|
"python-dateutil", "prettytable", "h5py", "lmdb",
|
2020-12-12 21:50:11 +08:00
|
|
|
"qasync", "pyqtgraph", "pygit2",
|
2022-11-03 21:24:49 +08:00
|
|
|
"llvmlite", "pythonparser", "levenshtein",
|
2015-02-16 08:31:19 +08:00
|
|
|
]
|
|
|
|
|
2016-04-10 16:28:25 +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",
|
2018-05-16 21:50:44 +08:00
|
|
|
"artiq_coremgmt = artiq.frontend.artiq_coremgmt:main",
|
2022-12-02 16:27:03 +08:00
|
|
|
"artiq_rtiomap = artiq.frontend.artiq_rtiomap:main",
|
2019-02-22 17:19:48 +08:00
|
|
|
"artiq_ddb_template = artiq.frontend.artiq_ddb_template:main",
|
2017-06-05 21:34:28 +08:00
|
|
|
"artiq_master = artiq.frontend.artiq_master:main",
|
|
|
|
"artiq_mkfs = artiq.frontend.artiq_mkfs:main",
|
2018-09-15 10:44:59 +08:00
|
|
|
"artiq_rtiomon = artiq.frontend.artiq_rtiomon:main",
|
2020-01-21 16:13:04 +08:00
|
|
|
"artiq_sinara_tester = artiq.frontend.artiq_sinara_tester:main",
|
2017-06-05 21:34:28 +08:00
|
|
|
"artiq_session = artiq.frontend.artiq_session:main",
|
2018-09-04 19:04:27 +08:00
|
|
|
"artiq_route = artiq.frontend.artiq_route:main",
|
2017-06-05 21:34:28 +08:00
|
|
|
"artiq_run = artiq.frontend.artiq_run:main",
|
|
|
|
"artiq_flash = artiq.frontend.artiq_flash:main",
|
2023-12-08 18:55:07 +08:00
|
|
|
"aqctl_coreanalyzer_proxy = artiq.frontend.aqctl_coreanalyzer_proxy:main",
|
2017-07-05 02:04:25 +08:00
|
|
|
"aqctl_corelog = artiq.frontend.aqctl_corelog:main",
|
2022-03-18 17:01:51 +08:00
|
|
|
"aqctl_moninj_proxy = artiq.frontend.aqctl_moninj_proxy:main",
|
2022-02-07 14:28:00 +08:00
|
|
|
"afws_client = artiq.frontend.afws_client: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 = [
|
2017-06-05 21:34:28 +08:00
|
|
|
"artiq_browser = artiq.frontend.artiq_browser:main",
|
|
|
|
"artiq_dashboard = artiq.frontend.artiq_dashboard:main",
|
2016-04-10 16:28:25 +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(),
|
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
|
2017-01-27 02:04:35 +08:00
|
|
|
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
|
2021-09-27 17:46:25 +08:00
|
|
|
Programming Language :: Python :: 3.7
|
2016-04-21 22:35:16 +08:00
|
|
|
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={},
|
2022-12-01 17:26:52 +08:00
|
|
|
packages=find_namespace_packages(exclude=["artiq.test.lit", "artiq.test.lit.*", "doc.manual"], ),
|
2014-12-30 18:53:27 +08:00
|
|
|
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
|
|
|
)
|