Skip to content

Commit

Permalink
changed structure to match luxonis-ml
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlov721 committed Jan 10, 2024
1 parent 5645018 commit 92a78d8
Show file tree
Hide file tree
Showing 24 changed files with 10 additions and 68 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/autogenerate_requirements.yaml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
29 changes: 8 additions & 21 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ requires-python = ">=3.8"
license = { file = "LICENSE" }
maintainers = [{ name = "Luxonis", email = "[email protected]"}]
keywords = ["computer vision", "AI", "machine learning", "generative models"]
dynamic = ["dependencies", "optional-dependencies"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Development Status :: 3 - Alpha",
Expand All @@ -21,26 +22,12 @@ classifiers = [
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Image Recognition",
]
dependencies = [
"torch>=2.0.0",
"torchvision>=0.16.0",
"transformers>=4.0.0",
"diffusers>=0.24.0",
"compel>=2.0.0",
"tqdm>=4.0.0",
"Pillow>=9.0.0",
"numpy>=1.22.0",
"matplotlib>=3.6.0",
"opencv-python>=4.7.0",
"accelerate>=0.25.0",
"scipy>=1.10.0",
]
[project.optional-dependencies]
dev = [
"datadreamer",
"pre-commit>=3.2.1",
"toml>=0.10.2",
]

[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }

[tool.setuptools.dynamic.optional-dependencies]
dev = { file = ["requirements-dev.txt"] }

[project.urls]
Homepage = "https://github.com/luxonis/datadreamer"
Expand All @@ -49,7 +36,7 @@ Homepage = "https://github.com/luxonis/datadreamer"
datadreamer = "datadreamer.pipelines.generate_dataset_from_scratch:main"

[tool.setuptools.packages.find]
where = ["src"]
where = ["."]

[tool.ruff]
target-version = "py38"
Expand Down
2 changes: 2 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pre-commit>=3.2.1
toml>=0.10.2
4 changes: 0 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,3 @@ matplotlib>=3.6.0
opencv-python>=4.7.0
accelerate>=0.25.0
scipy>=1.10.0

# dev
pre-commit>=3.2.1
toml>=0.10.2

0 comments on commit 92a78d8

Please sign in to comment.