-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (53 loc) · 1.61 KB
/
setup.py
File metadata and controls
55 lines (53 loc) · 1.61 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
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="steel-defect-detection",
version="1.0.0",
author="Your Name",
author_email="your.email@example.com",
description="Deep learning system for steel defect detection",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yourusername/steel-defect-detection",
packages=find_packages(where=".", exclude=["tests*", "docs*", "notebooks*"]),
package_dir={"": "."},
python_requires=">=3.8",
install_requires=[
"torch>=1.10.0",
"torchvision>=0.11.0",
"albumentations>=1.0.0",
"numpy>=1.20.0",
"opencv-python>=4.5.0",
"pandas>=1.3.0",
],
extras_require={
"dev": [
"pytest>=6.0",
"pytest-cov>=2.0",
"flake8>=4.0",
],
"api": [
"fastapi>=0.70.0",
"uvicorn>=0.15.0",
"python-multipart>=0.0.5",
],
"demo": [
"gradio>=3.0",
"streamlit>=1.0",
],
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Manufacturing",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
entry_points={
"console_scripts": [
"steel-defect-train=steel_defect.training.cli:main",
"steel-defect-api=steel_defect.api.cli:main",
],
},
)