Upload setup.py with huggingface_hub
Browse files
setup.py
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from setuptools import setup, find_packages
|
| 2 |
+
|
| 3 |
+
with open("README.md", "r", encoding="utf-8") as fh:
|
| 4 |
+
long_description = fh.read()
|
| 5 |
+
|
| 6 |
+
setup(
|
| 7 |
+
name="computer-vision-model",
|
| 8 |
+
version="0.1.0",
|
| 9 |
+
author="Ahmed766",
|
| 10 |
+
author_email="author@example.com",
|
| 11 |
+
description="A computer vision model for image classification",
|
| 12 |
+
long_description=long_description,
|
| 13 |
+
long_description_content_type="text/markdown",
|
| 14 |
+
url="https://github.com/Ahmed766/computer-vision-model",
|
| 15 |
+
packages=find_packages(),
|
| 16 |
+
classifiers=[
|
| 17 |
+
"Development Status :: 3 - Alpha",
|
| 18 |
+
"Intended Audience :: Developers",
|
| 19 |
+
"License :: OSI Approved :: MIT License",
|
| 20 |
+
"Operating System :: OS Independent",
|
| 21 |
+
"Programming Language :: Python :: 3",
|
| 22 |
+
"Programming Language :: Python :: 3.7",
|
| 23 |
+
"Programming Language :: Python :: 3.8",
|
| 24 |
+
"Programming Language :: Python :: 3.9",
|
| 25 |
+
],
|
| 26 |
+
python_requires='>=3.7',
|
| 27 |
+
install_requires=[
|
| 28 |
+
"torch>=1.9.0",
|
| 29 |
+
"torchvision>=0.10.0",
|
| 30 |
+
"Pillow>=8.0.0",
|
| 31 |
+
"requests>=2.25.0",
|
| 32 |
+
"numpy>=1.20.0",
|
| 33 |
+
"opencv-python>=4.5.0",
|
| 34 |
+
"matplotlib>=3.3.0",
|
| 35 |
+
],
|
| 36 |
+
)
|