-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add patch for handling requirements.txt that doesn't make it to SRC_DIR
- Loading branch information
1 parent
331aad4
commit 9ade57a
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
recipes/pyserini/patches/0001-remove-requirements.txt-handling-from-setup.py.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
From 4e82093ed5a4c1fcc63a97eb8523f6ef8162a4c0 Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <h.vetinari@gmx.com> | ||
Date: Fri, 9 Apr 2021 02:21:41 +0200 | ||
Subject: [PATCH] remove requirements.txt handling from setup.py | ||
|
||
--- | ||
setup.py | 5 +---- | ||
1 file changed, 1 insertion(+), 4 deletions(-) | ||
|
||
diff --git a/setup.py b/setup.py | ||
index 8eb4d96..4cfd93b 100644 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -3,9 +3,6 @@ import setuptools | ||
with open("project-description.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
-with open('requirements.txt') as f: | ||
- requirements = f.read().splitlines() | ||
- | ||
setuptools.setup( | ||
name="pyserini", | ||
version="0.11.0.0", | ||
@@ -18,7 +15,7 @@ setuptools.setup( | ||
"resources/jars/anserini-0.11.0-fatjar.jar", | ||
]}, | ||
url="https://github.com/castorini/pyserini", | ||
- install_requires=requirements, | ||
+ install_requires=[], | ||
packages=setuptools.find_packages(), | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
-- | ||
2.29.2.windows.3 | ||
|