57 lines
2.2 KiB
Python
57 lines
2.2 KiB
Python
"""Setup script for Microscopy Object Detection Application."""
|
|
|
|
from setuptools import setup, find_packages
|
|
from pathlib import Path
|
|
|
|
# Read the contents of README file
|
|
this_directory = Path(__file__).parent
|
|
long_description = (this_directory / "README.md").read_text(encoding="utf-8")
|
|
|
|
# Read requirements
|
|
requirements = (this_directory / "requirements.txt").read_text().splitlines()
|
|
requirements = [
|
|
req.strip() for req in requirements if req.strip() and not req.startswith("#")
|
|
]
|
|
|
|
setup(
|
|
name="microscopy-object-detection",
|
|
version="1.0.0",
|
|
author="Your Name",
|
|
author_email="your.email@example.com",
|
|
description="Desktop application for detecting and segmenting organelles in microscopy images using YOLOv8-seg",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://github.com/yourusername/object_detection",
|
|
packages=find_packages(exclude=["tests", "tests.*", "docs"]),
|
|
include_package_data=True,
|
|
install_requires=requirements,
|
|
python_requires=">=3.8",
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Science/Research",
|
|
"Topic :: Scientific/Engineering :: Image Recognition",
|
|
"Topic :: Scientific/Engineering :: Bio-Informatics",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Operating System :: OS Independent",
|
|
],
|
|
entry_points={
|
|
"console_scripts": [
|
|
"microscopy-detect=src.cli:main",
|
|
],
|
|
"gui_scripts": [
|
|
"microscopy-detect-gui=src.gui_launcher:main",
|
|
],
|
|
},
|
|
keywords="microscopy yolov8 object-detection segmentation computer-vision deep-learning",
|
|
project_urls={
|
|
"Bug Reports": "https://github.com/yourusername/object_detection/issues",
|
|
"Source": "https://github.com/yourusername/object_detection",
|
|
"Documentation": "https://github.com/yourusername/object_detection/blob/main/README.md",
|
|
},
|
|
)
|