-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (67 loc) · 2.5 KB
/
pyproject.toml
File metadata and controls
72 lines (67 loc) · 2.5 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
[project]
name = "nexuslims-cdcs"
version = "3.20.0+nx0"
description = "NexusLIMS-CDCS: An automated laboratory information management system for microscopy data management"
readme = "README.md"
requires-python = ">=3.13"
authors = [
{name = "Datasophos LLC"},
]
keywords = ["NexusLIMS", "MDCS", "CDCS", "microscopy", "data management", "materials science"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"celery",
"Django",
# Redis-backed caching for production
# Base MDCS uses Django's default LocMemCache, but we use Redis for:
# - Better performance with persistent cache across container restarts
# - Shared cache across multiple app instances (if scaled horizontally)
# - Session storage that survives application restarts
# Required by: config/settings/prod_settings.py
"django-redis",
# CDCS/MDCS core packages - all pinned to 2.20.* for compatibility
"core_main_app[auth]==2.20.*",
"core_composer_app==2.20.*",
"core_curate_app==2.20.*",
"core_dashboard_common_app==2.20.*",
"core_dashboard_app==2.20.*",
"core_explore_example_app==2.20.*",
"core_explore_keyword_app==2.20.*",
"core_explore_federated_search_app==2.20.*",
"core_exporters_app==2.20.*",
"core_federated_search_app==2.20.*",
"core_website_app==2.20.*",
"core_module_blob_host_app==2.20.*",
"core_module_remote_blob_host_app==2.20.*",
"core_module_advanced_blob_host_app==2.20.*",
"core_module_excel_uploader_app==2.20.*",
"core_module_periodic_table_app==2.20.*",
"core_module_chemical_composition_app==2.20.*",
"core_module_chemical_composition_simple_app==2.20.*",
"core_module_text_area_app==2.20.*",
"core_file_preview_app==2.20.*",
"core_linked_records_app==2.20.*",
# Production server packages
"psycopg2-binary", # PostgreSQL adapter
"uwsgi", # Application server
"gunicorn[gthread]", # Alternative application server with threading support
]
[dependency-groups]
dev = [
# Used by test_settings.py and deployment settings to load .env files
"python-dotenv",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["nexuslims_annotate", "nexuslims_overrides", "mdcs", "mdcs_home", "tests"]
[tool.black]
line-length = 79
target-version = ['py313']
include = '\.pyi?$'