Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
122 lines (113 loc) · 3.69 KB
/
Copy pathsetup.py
File metadata and controls
122 lines (113 loc) · 3.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
from setuptools import setup, find_packages
# NOTE: This setup.py is maintained for backward compatibility.
# The primary configuration is now in pyproject.toml for UV support.
# When using UV, this file is not needed, but it's kept for pip compatibility.
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="ImSwitchUC2",
author="Benedict Diederich, Xavier Casas Moreno, et al.",
author_email="benedictdied@gmail.com",
description="Microscopy control",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/openuc2/ImSwitch",
project_urls={
"Bug Tracker": "https://github.com/openuc2/ImSwitch/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
],
packages=find_packages(),
include_package_data=True,
python_requires=">=3.11",
install_requires=[
"pydantic==2.11.4",
"coloredlogs >= 15",
"colour-science >= 0.3",
"dataclasses-json >= 0.5",
"h5py >= 2.10",
"pyvisa-py==0.4.1",
"lantzdev >= 0.5.2",
"luddite >= 1",
"nidaqmx >= 0.5.7",
"numpy==2.1.2",
"packaging >= 19",
"psutil >= 5.4.8",
"pyserial >= 3.4",
"requests >= 2.25",
"scikit-image==0.25.2",
"Send2Trash >= 1.8",
"tifffile >= 2020.11.26",
"dask[complete] >= 2024.8.0",
"fastAPI >= 0.86.0",
"uvicorn[standard] >= 0.19.0",
"matplotlib == 3.9.2",
"opencv-python",
"dataclasses-json >= 0.5",
"aiortc",
"UC2-REST",
"tk >= 0.1.0",
"jupyter",
"python-multipart >= 0.0.5",
"piexif >= 1.1.3",
"NanoImagingPack==2.1.5",
"imswitchclient>=0.2.0",
"psygnal",
"python-socketio[asyncio]==5.11.4",
"jupyterlab==4.2.5",
"python-dateutil >= 2.8.1",
"zarr>=3.0.0a0",
"numcodecs>=0.13.1",
"aiohttp>=3.9.4",
"mikro-next>=0.18.0",
"arkitekt-next[all]>=0.39.5",
"koil>=2.0.5",
"msgpack>=1.0.4",
"esptool",
"omero-py",
"uc2-rest>=0.2.0.43",
"unitelabs-sila",
"unitelabs-cdk",
"ashlarUC2>=1.18.5",
],
extras_require={ # we assume that this is installed in a conda environment or via apt-get
'Lepmon': [
"RPi.GPIO",
"luma.oled",
"smbus2",
"smbus"
],
'microEye': [
"numba>=0.61.2"
],
'arkitekt':
[
"arkitekt==0.7.8",
"arkitekt_next>=0.35.0"
],
# Test dependencies for API testing
'testing': [
"pytest>=6.0",
"pytest-asyncio",
"requests>=2.25",
"httpx>=0.24.0", # Alternative HTTP client for async testing
],
},
entry_points={
"console_scripts": [
"imswitch = imswitch.__main__:main",
],
'imswitch.implugins.detectors': [],
'imswitch.implugins.lasers': [],
'imswitch.implugins.positioner': [],
"jupyter.kernel_provisioners": [ # has to point to jupyter_connection.py -> ExistingProvisioner
"imswitch-provisioner = imswitch.imcontrol.model.jupyter_connection:ExistingProvisioner",
]
},
)
# For NIP install it using:
# python -m pip install https://gitlab.com/bionanoimaging/nanoimagingpack/-/archive/master/nanoimagingpack-master.zip
# Note: Automatic version bumping is now enabled via GitHub Actions