Commit 86b3f636 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Create a new directory for things that came from CPython's Python/

Should probably reorganize/rename the "lib_python" directory at some point.
parent 691e3766
...@@ -278,7 +278,8 @@ STDLIB_RELEASE_OBJS := stdlib.release.bc.o ...@@ -278,7 +278,8 @@ STDLIB_RELEASE_OBJS := stdlib.release.bc.o
STDMODULE_SRCS := errnomodule.c shamodule.c sha256module.c sha512module.c _math.c mathmodule.c md5.c md5module.c _randommodule.c _sre.c operator.c binascii.c pwdmodule.c $(EXTRA_STDMODULE_SRCS) STDMODULE_SRCS := errnomodule.c shamodule.c sha256module.c sha512module.c _math.c mathmodule.c md5.c md5module.c _randommodule.c _sre.c operator.c binascii.c pwdmodule.c $(EXTRA_STDMODULE_SRCS)
STDOBJECT_SRCS := structseq.c capsule.c $(EXTRA_STDOBJECT_SRCS) STDOBJECT_SRCS := structseq.c capsule.c $(EXTRA_STDOBJECT_SRCS)
FROM_CPYTHON_SRCS := $(addprefix lib_python/2.7_Modules/,$(STDMODULE_SRCS)) $(addprefix lib_python/2.7_Objects/,$(STDOBJECT_SRCS)) $(wildcard src/capi/*.c) STDPYTHON_SRCS := pyctype.c $(EXTRA_STDPYTHON_SRCS)
FROM_CPYTHON_SRCS := $(addprefix lib_python/2.7_Modules/,$(STDMODULE_SRCS)) $(addprefix lib_python/2.7_Objects/,$(STDOBJECT_SRCS)) $(addprefix lib_python/2.7_Python/,$(STDPYTHON_SRCS))
# The stdlib objects have slightly longer dependency chains, # The stdlib objects have slightly longer dependency chains,
# so put them first in the list: # so put them first in the list:
......
...@@ -2,6 +2,7 @@ Files in this directory were originally obtained from the CPython mercurial repo ...@@ -2,6 +2,7 @@ Files in this directory were originally obtained from the CPython mercurial repo
revision 90928 (2.7.7 release). The "2.7" directory is a copy of the Lib directory, and the revision 90928 (2.7.7 release). The "2.7" directory is a copy of the Lib directory, and the
"2.7_Modules" directory is a copy of the Modules directory. "2.7_Modules" directory is a copy of the Modules directory.
The 2.7_Objects directory contains some of the Objects/ directory. The 2.7_Objects directory contains some of the Objects/ directory.
The 2.7_Python directory contains some of the Python/ directory.
The original code is redistributed under the original license (see main LICENSE file); The original code is redistributed under the original license (see main LICENSE file);
modifications are distributed under the Apache License, Version 2.0 (again, see main LICENSE file). modifications are distributed under the Apache License, Version 2.0 (again, see main LICENSE file).
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment