Skip to content

Commit

Permalink
Make sdp an optional dependency for docker install
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Gitman <[email protected]>
  • Loading branch information
Kipok committed Jun 27, 2024
1 parent 6ea02d3 commit 2037792
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
17 changes: 1 addition & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,4 @@ py_version = 310 # python 3.10 as a target version

[tool.black]
line_length = 119
skip_string_normalization = true

[project]
name = "nemo_skills"
description = "NeMo Skills - a project to improve skills of LLMs"
dynamic = ["version","dependencies"]
requires-python = ">=3.10"
readme = "README.md"
license = {file = "LICENSE"}

[tool.setuptools.packages.find]
include = ["nemo_skills*"]

[tool.setuptools.dynamic]
version = {attr = "nemo_skills.__version__"}
dependencies = {file = ["requirements.txt"]}
skip_string_normalization = true
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ openai
pyyaml
rank_bm25
requests
sdp @ git+https://github.com/NVIDIA/NeMo-speech-data-processor
sympy
tqdm
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ def parse_requirements(filename):

# Read the requirements from the requirements.txt file
requirements = parse_requirements('requirements.txt')
# sdp is not needed in docker containers, so not adding it to requirements.txt
requirements.append("sdp @ git+https://github.com/NVIDIA/NeMo-speech-data-processor")

setup(
name="nemo_skills",
Expand Down

0 comments on commit 2037792

Please sign in to comment.