BLD Remove sitecustomize (#1072)

This commit is contained in:
Dexter Chua 2021-01-09 00:29:52 +08:00 committed by GitHub
parent c5f9a98de3
commit e46aa9cff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 11 deletions

View File

@ -152,7 +152,6 @@ $(UGLIFYJS) $(LESSC): emsdk/emsdk/.complete
root/.built: \
$(CPYTHONLIB) \
src/sitecustomize.py \
src/webbrowser.py \
$(wildcard src/pyodide-py/pyodide/*.py) \
cpython/remove_modules.txt
@ -160,7 +159,6 @@ root/.built: \
mkdir -p root/lib
cp -r $(CPYTHONLIB) root/lib
mkdir -p $(SITEPACKAGES)
cp src/sitecustomize.py $(SITEPACKAGES)
cp src/webbrowser.py root/lib/python$(PYMINOR)
cp src/_testcapi.py root/lib/python$(PYMINOR)
cp src/pystone.py root/lib/python$(PYMINOR)

View File

@ -1,9 +0,0 @@
"""
Pyodide-specific startup code that's always run at Python startup.
"""
# We weren't invoked at the commandline, but set some commandline arguments as
# if we were anyway. Helps many of the CPython tests pass.
import sys
sys.argv = ["pyodide"]