Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit f802c17

Browse files
committed
setup files
1 parent 1a2d490 commit f802c17

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools>=42"]
3+
build-backend = "setuptools.build_meta"

setup.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
import setuptools
2+
3+
def read_requirements():
4+
with open("requirements.txt") as f:
5+
return f.read().splitlines()
6+
7+
setuptools.setup(
8+
name="yolov5",
9+
version='6.1.0dev0',
10+
author="",
11+
license="GPL",
12+
description="Packaged version of the Yolov5 object detector",
13+
long_description=open("README.md", "r", encoding="utf-8").read(),
14+
long_description_content_type="text/markdown",
15+
url="https://github.com/ultralytics/yolov5",
16+
package_dir={"": "src"},
17+
packages=setuptools.find_packages(exclude=[".github", ".vscode", "dev-venv", "dist", "recipes", "req-test", "runs", "sparse_logs", "test-whl", "wandb", "yolov5.egg-inf"]),
18+
python_requires=">=3.6",
19+
install_requires=read_requirements(),
20+
include_package_data=True,
21+
classifiers=[
22+
"Development Status :: 5 - Production/Stable",
23+
"License :: OSI Approved :: GNU General Public License (GPL)",
24+
"Operating System :: OS Independent",
25+
"Intended Audience :: Developers",
26+
"Intended Audience :: Science/Research",
27+
"Programming Language :: Python :: 3",
28+
"Topic :: Software Development :: Libraries :: Python Modules",
29+
"Topic :: Education",
30+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
31+
]
32+
)

0 commit comments

Comments
 (0)