-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
don't use old streamlit versions, remove tests from package
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
recipes/streamlit-searchbox/0001-remove-tests-from-distribution.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,33 @@ | ||
From 80f2995dc85335719602ec3ec3d7b6b32c5445a0 Mon Sep 17 00:00:00 2001 | ||
From: Yannik Tausch <[email protected]> | ||
Date: Thu, 31 Oct 2024 18:45:50 +0100 | ||
Subject: [PATCH] remove tests from distribution | ||
|
||
--- | ||
MANIFEST.in | 1 + | ||
setup.py | 2 +- | ||
2 files changed, 2 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/MANIFEST.in b/MANIFEST.in | ||
index 5dd2aa4..ef437b0 100644 | ||
--- a/MANIFEST.in | ||
+++ b/MANIFEST.in | ||
@@ -1 +1,2 @@ | ||
recursive-include streamlit_searchbox/frontend/build * | ||
+recursive-exclude tests * | ||
diff --git a/setup.py b/setup.py | ||
index 7480aee..8ebf3c3 100644 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -9,7 +9,7 @@ setuptools.setup( | ||
+ "and provides a list of suggestions based on a provided function", | ||
long_description_content_type="text/plain", | ||
url="https://github.com/m-wrzr/streamlit-searchbox", | ||
- packages=setuptools.find_packages(), | ||
+ packages=setuptools.find_packages(exclude=("tests",)), | ||
include_package_data=True, | ||
classifiers=[], | ||
python_requires=">=3.9, !=3.9.7", | ||
-- | ||
2.46.1 | ||
|
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