|
1 | | -[tool.black] |
2 | | -line-length = 79 |
3 | | -#include = '\.pyi?$' |
4 | | -exclude = ''' |
5 | | -/( |
6 | | - \.git |
7 | | - | \.hg |
8 | | - | \.mypy_cache |
9 | | - | \.tox |
10 | | - | \.venv |
11 | | - | _build |
12 | | - | buck-out |
13 | | - | build |
14 | | - | dist |
15 | | -)/ |
16 | | -''' |
| 1 | +[project] |
| 2 | +name = "anylabeling" |
| 3 | +dynamic = ["version"] |
| 4 | +description = "Effortless data labeling with AI support" |
| 5 | +readme = "README.md" |
| 6 | +authors = [ |
| 7 | + {name = "Viet-Anh Nguyen", email = "vietanh.dev@gmail.com"} |
| 8 | +] |
| 9 | +requires-python = ">=3.10" |
| 10 | +keywords = ["Image Annotation", "Machine Learning", "Deep Learning"] |
| 11 | +classifiers = [ |
| 12 | + "Intended Audience :: Developers", |
| 13 | + "Intended Audience :: Science/Research", |
| 14 | + "Natural Language :: English", |
| 15 | + "Operating System :: OS Independent", |
| 16 | + "Programming Language :: Python", |
| 17 | + "Programming Language :: Python :: 3.10", |
| 18 | + "Programming Language :: Python :: 3.11", |
| 19 | + "Programming Language :: Python :: 3.12", |
| 20 | + "Programming Language :: Python :: 3 :: Only", |
| 21 | +] |
| 22 | +# Note: We're using most standard dependencies here |
| 23 | +# The GPU version will be handled by the setup.py |
| 24 | +# which dynamically chooses between onnxruntime and onnxruntime-gpu |
| 25 | +dependencies = [ |
| 26 | + "imgviz>=0.11", |
| 27 | + "natsort>=7.1.0", |
| 28 | + "numpy==1.26.4", |
| 29 | + "Pillow>=2.8", |
| 30 | + "PyYAML==6.0.1", |
| 31 | + "termcolor==1.1.0", |
| 32 | + "opencv-python-headless==4.7.0.72", |
| 33 | + "PyQt5>=5.15.7; platform_system != 'Darwin'", |
| 34 | + "onnx==1.16.1", |
| 35 | + "qimage2ndarray==1.10.0", |
| 36 | + "darkdetect==0.8.0", |
| 37 | + "onnxruntime==1.18.1", |
| 38 | +] |
| 39 | + |
| 40 | +[project.urls] |
| 41 | +Homepage = "https://github.com/vietanhdev/anylabeling" |
| 42 | + |
| 43 | +[tool.setuptools.dynamic] |
| 44 | +version = {attr = "anylabeling.__version__"} |
| 45 | + |
| 46 | +[project.scripts] |
| 47 | +anylabeling = "anylabeling.app:main" |
| 48 | + |
| 49 | +# Since this project has dynamic dependencies based on GPU availability |
| 50 | +# and platform, we're still using setup.py for the final package building. |
| 51 | +# This configuration provides the minimal metadata needed for wheel building. |
17 | 52 |
|
18 | 53 | [build-system] |
19 | 54 | requires = ["setuptools", "wheel"] |
20 | 55 | build-backend = "setuptools.build_meta" |
21 | | - |
|
0 commit comments