Skip to content

Commit

Permalink
Remove requirements.txt, pyproject.toml handles it
Browse files Browse the repository at this point in the history
fix huggingface_hub since this package exists as well.

make install  use --no-deps

Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed Oct 11, 2024
1 parent 2066a8a commit b184b4b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ completions:
.PHONY:
install: docs completions
RAMALAMA_VERSION=$(RAMALAMA_VERSION) \
pip install . --root $(DESTDIR) --prefix ${PREFIX}
pip install . --no-deps --root $(DESTDIR) --prefix ${PREFIX}

.PHONY:
build:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies = [
"argcomplete",
"tqdm",
"omlmd",
"huggingface_hub[cli]",
"huggingface_hub",
]
requires-python = ">= 3.8"
maintainers = [
Expand Down
7 changes: 0 additions & 7 deletions requirements.txt

This file was deleted.

6 changes: 5 additions & 1 deletion rpm/python-ramalama.spec
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,12 @@ BuildRequires: pyproject-rpm-macros
BuildRequires: python%{python3_pkgversion}-pip
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-wheel
BuildRequires: python%{python3_pkgversion}-argcomplete
Requires: python%{python3_pkgversion}-argcomplete
Recommends: podman
Recommends: python%{python3_pkgversion}-huggingface-hub
Recommends: python%{python3_pkgversion}-tqdm


Summary: %{summary}
Provides: %{pypi_name} = %{version}-%{release}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
Expand Down

0 comments on commit b184b4b

Please sign in to comment.