| 
									
										
										
										
											2024-08-14 19:50:57 +02:00
										 |  |  | [build-system] | 
					
						
							|  |  |  | requires = ["setuptools>=61.0", "wheel", "setuptools-ocrd"] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [project] | 
					
						
							|  |  |  | name = "eynollah" | 
					
						
							|  |  |  | authors = [ | 
					
						
							|  |  |  |     {name = "Vahid Rezanezhad"}, | 
					
						
							|  |  |  |     {name = "Staatsbibliothek zu Berlin - Preußischer Kulturbesitz"}, | 
					
						
							|  |  |  | ] | 
					
						
							|  |  |  | description = "Document Layout Analysis" | 
					
						
							|  |  |  | readme = "README.md" | 
					
						
							|  |  |  | license.file = "LICENSE" | 
					
						
							|  |  |  | requires-python = ">=3.8" | 
					
						
							|  |  |  | keywords = ["document layout analysis", "image segmentation"] | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-10-01 18:01:21 +02:00
										 |  |  | dynamic = [ | 
					
						
							|  |  |  |   "dependencies", | 
					
						
							|  |  |  |   "optional-dependencies", | 
					
						
							|  |  |  |   "version" | 
					
						
							|  |  |  | ] | 
					
						
							| 
									
										
										
										
											2024-08-14 19:50:57 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | classifiers = [ | 
					
						
							|  |  |  |     "Development Status :: 4 - Beta", | 
					
						
							|  |  |  |     "Environment :: Console", | 
					
						
							|  |  |  |     "Intended Audience :: Science/Research", | 
					
						
							|  |  |  |     "License :: OSI Approved :: Apache Software License", | 
					
						
							|  |  |  |     "Programming Language :: Python :: 3", | 
					
						
							|  |  |  |     "Programming Language :: Python :: 3 :: Only", | 
					
						
							|  |  |  |     "Topic :: Scientific/Engineering :: Image Processing", | 
					
						
							|  |  |  | ] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [project.scripts] | 
					
						
							| 
									
										
										
										
											2024-08-29 17:11:29 +02:00
										 |  |  | eynollah = "eynollah.cli:main" | 
					
						
							| 
									
										
										
										
											2025-10-01 18:52:11 +02:00
										 |  |  | eynollah-training = "eynollah.training.cli:main" | 
					
						
							| 
									
										
										
										
											2024-08-29 17:11:29 +02:00
										 |  |  | ocrd-eynollah-segment = "eynollah.ocrd_cli:main" | 
					
						
							| 
									
										
										
										
											2025-03-31 01:47:32 +02:00
										 |  |  | ocrd-sbb-binarize = "eynollah.ocrd_cli_binarization:main" | 
					
						
							| 
									
										
										
										
											2024-08-14 19:50:57 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | [project.urls] | 
					
						
							|  |  |  | Homepage = "https://github.com/qurator-spk/eynollah" | 
					
						
							|  |  |  | Repository = "https://github.com/qurator-spk/eynollah.git" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [tool.setuptools.dynamic] | 
					
						
							|  |  |  | dependencies = {file = ["requirements.txt"]} | 
					
						
							| 
									
										
										
										
											2025-03-31 14:13:16 +02:00
										 |  |  | optional-dependencies.test = {file = ["requirements-test.txt"]} | 
					
						
							| 
									
										
										
										
											2025-10-01 18:01:21 +02:00
										 |  |  | optional-dependencies.OCR = {file = ["requirements-ocr.txt"]} | 
					
						
							|  |  |  | optional-dependencies.plotting = {file = ["requirements-plotting.txt"]} | 
					
						
							|  |  |  | optional-dependencies.training = {file = ["requirements-training.txt"]} | 
					
						
							| 
									
										
										
										
											2024-08-14 19:50:57 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | [tool.setuptools.packages.find] | 
					
						
							| 
									
										
										
										
											2024-08-29 17:11:29 +02:00
										 |  |  | where = ["src"] | 
					
						
							| 
									
										
										
										
											2024-08-14 19:50:57 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | [tool.setuptools.package-data] | 
					
						
							| 
									
										
										
										
											2025-09-25 22:25:05 +02:00
										 |  |  | "*" = ["*.json", '*.yml', '*.xml', '*.xsd', '*.ttf'] | 
					
						
							| 
									
										
										
										
											2025-04-04 22:22:50 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | [tool.coverage.run] | 
					
						
							|  |  |  | branch = true | 
					
						
							| 
									
										
										
										
											2025-04-05 03:05:26 +02:00
										 |  |  | source = ["eynollah"] | 
					
						
							| 
									
										
										
										
											2025-10-08 15:13:57 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | [tool.ruff] | 
					
						
							|  |  |  | line-length = 120 | 
					
						
							| 
									
										
										
										
											2025-10-16 21:29:37 +02:00
										 |  |  | # TODO: Reenable and fix after release v0.6.0 | 
					
						
							|  |  |  | exclude = ['src/eynollah/training'] | 
					
						
							| 
									
										
										
										
											2025-10-08 15:13:57 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | [tool.ruff.lint] | 
					
						
							|  |  |  | ignore = [ | 
					
						
							|  |  |  | # disable unused imports | 
					
						
							|  |  |  | "F401", | 
					
						
							|  |  |  | # disable import order | 
					
						
							|  |  |  | "E402", | 
					
						
							|  |  |  | # disable unused variables | 
					
						
							|  |  |  | "F841", | 
					
						
							|  |  |  | # disable bare except | 
					
						
							|  |  |  | "E722", | 
					
						
							|  |  |  | ] | 
					
						
							| 
									
										
										
										
											2025-10-08 17:54:38 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | [tool.ruff.format] | 
					
						
							|  |  |  | quote-style = "preserve" | 
					
						
							| 
									
										
										
										
											2025-10-16 21:29:37 +02:00
										 |  |  | 
 |