mirror of https://github.com/pyodide/pyodide.git
BLD Remove sitecustomize (#1072)
This commit is contained in:
parent
c5f9a98de3
commit
e46aa9cff6
2
Makefile
2
Makefile
|
@ -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)
|
||||
|
|
|
@ -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"]
|
Loading…
Reference in New Issue