Skip to content

Commit

Permalink
split extra dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianGroeger96 committed Oct 12, 2024
1 parent ff735e8 commit 6416d21
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ WORKDIR /workspace
RUN mkdir /assets

COPY requirements.txt /assets/requirements.txt
COPY requirements.extras.txt /assets/requirements.extras.txt
RUN pip install -r /assets/requirements.txt --upgrade --no-cache-dir
RUN pip install -r /assets/requirements.extras.txt --upgrade --no-cache-dir

COPY . /workspace/
RUN git config --global --add safe.directory '*'
Expand Down
1 change: 1 addition & 0 deletions requirements.extras.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
annoy
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ codecov
jupyter
loguru
memory-profiler
annoy
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def parse_requirements(filename):
name=PACKAGE_NAME,
packages=proj_packages,
package_dir={PACKAGE_NAME: SOURCE_DIRECTORY},
version="0.0.29",
version="0.0.30",
author="Fabian Groeger",
author_email="fabian.groeger@unibas.ch",
description="A holistic self-supervised data cleaning strategy to detect irrelevant samples, near duplicates and label errors.",
Expand All @@ -41,6 +41,7 @@ def parse_requirements(filename):
python_requires=">=3.6",
install_requires=parse_requirements("requirements.txt"),
setup_requires=parse_requirements("requirements.txt"),
extras_require={"approximate_nn": ["annoy"]},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
Expand Down

0 comments on commit 6416d21

Please sign in to comment.