-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (57 loc) · 1.94 KB
/
setup.py
File metadata and controls
61 lines (57 loc) · 1.94 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
from setuptools import setup, find_packages
from pathlib import Path
# Fallback-safe long description
readme_path = Path("README.md")
if readme_path.is_file():
with readme_path.open("r", encoding="utf-8") as fh:
long_description = fh.read()
else:
long_description = (
"Novel Multi-Modal Facial Skin Cancer Detection System with "
"ABCDE-Aware Explainability."
)
# Fallback-safe requirements
requirements_path = Path("requirements.txt")
if requirements_path.is_file():
with requirements_path.open("r", encoding="utf-8") as fh:
requirements = [
line.strip()
for line in fh
if line.strip() and not line.startswith("#")
]
else:
requirements = []
setup(
name="face-skin-cancer-detection",
version="1.0.0",
author="Your Name",
author_email="your.email@example.com",
description="Novel Multi-Modal Facial Skin Cancer Detection System with ABCDE-Aware Explainability",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yourusername/face-skin-cancer-detection",
packages=find_packages(),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"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",
],
python_requires=">=3.8",
install_requires=requirements,
extras_require={
"dev": [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"black>=23.7.0",
"flake8>=6.1.0",
"mypy>=1.5.0",
],
},
)