mirror of https://github.com/google/oss-fuzz.git
pymysql: fix build (#10008)
Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
parent
2007eca5b7
commit
cc1237430a
|
@ -14,10 +14,10 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
################################################################################
|
||||
git apply --ignore-space-change --ignore-whitespace $SRC/fuzz_patch.diff
|
||||
pip3 install .
|
||||
|
||||
python3 -m pip install .
|
||||
|
||||
# Build fuzzers in $OUT.
|
||||
for fuzzer in $(find $SRC -name 'fuzz_*.py'); do
|
||||
compile_python_fuzzer $fuzzer --hidden-import=pymysql.constants
|
||||
compile_python_fuzzer $fuzzer
|
||||
done
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 3793a8c..2a61b7a 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -45,5 +45,5 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
namespaces = false
|
||||
-include = ["pymysql"]
|
||||
+include = ["pymysql", "pymysql.constants"]
|
||||
exclude = ["tests*", "pymysql.tests*"]
|
Loading…
Reference in New Issue