Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
6373ba51
Kaydet (Commit)
6373ba51
authored
Mar 17, 2014
tarafından
Zachary Ware
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bump Windows build to 3.5
üst
42867c73
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
22 additions
and
22 deletions
+22
-22
kill_python.c
PC/VS9.0/kill_python.c
+1
-1
pyproject.vsprops
PC/VS9.0/pyproject.vsprops
+1
-1
example.vcproj
PC/example_nt/example.vcproj
+2
-2
pyconfig.h
PC/pyconfig.h
+2
-2
python3.def
PC/python3.def
+0
-0
python3.mak
PC/python3.mak
+6
-6
python35gen.py
PC/python35gen.py
+4
-4
python35stub.def
PC/python35stub.def
+1
-1
build_ssl.bat
PCbuild/build_ssl.bat
+2
-2
kill_python.c
PCbuild/kill_python.c
+1
-1
pyproject.props
PCbuild/pyproject.props
+1
-1
readme.txt
PCbuild/readme.txt
+1
-1
No files found.
PC/VS9.0/kill_python.c
Dosyayı görüntüle @
6373ba51
...
...
@@ -106,7 +106,7 @@ main(int argc, char **argv)
/*
* XXX TODO: if we really wanted to be fancy, we could check the
* modules for all processes (not just the python[_d].exe ones)
* and see if any of our DLLs are loaded (i.e. python3
4
[_d].dll),
* and see if any of our DLLs are loaded (i.e. python3
5
[_d].dll),
* as that would also inhibit our ability to rebuild the solution.
* Not worth loosing sleep over though; for now, a simple check
* for just the python executable should be sufficient.
...
...
PC/VS9.0/pyproject.vsprops
Dosyayı görüntüle @
6373ba51
...
...
@@ -38,7 +38,7 @@
/>
<UserMacro
Name=
"PyDllName"
Value=
"python3
4
"
Value=
"python3
5
"
/>
<UserMacro
Name=
"PythonExe"
...
...
PC/example_nt/example.vcproj
Dosyayı görüntüle @
6373ba51
...
...
@@ -39,7 +39,7 @@
<Tool
Name=
"VCLinkerTool"
AdditionalOptions=
"/export:initexample"
AdditionalDependencies=
"odbc32.lib odbccp32.lib python3
4
.lib"
AdditionalDependencies=
"odbc32.lib odbccp32.lib python3
5
.lib"
OutputFile=
".\Release/example.pyd"
LinkIncremental=
"1"
SuppressStartupBanner=
"TRUE"
...
...
@@ -105,7 +105,7 @@
<Tool
Name=
"VCLinkerTool"
AdditionalOptions=
"/export:initexample"
AdditionalDependencies=
"odbc32.lib odbccp32.lib python3
4
_d.lib"
AdditionalDependencies=
"odbc32.lib odbccp32.lib python3
5
_d.lib"
OutputFile=
".\Debug/example_d.pyd"
LinkIncremental=
"1"
SuppressStartupBanner=
"TRUE"
...
...
PC/pyconfig.h
Dosyayı görüntüle @
6373ba51
...
...
@@ -322,11 +322,11 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
their Makefile (other compilers are generally
taken care of by distutils.) */
# if defined(_DEBUG)
# pragma comment(lib,"python3
4
_d.lib")
# pragma comment(lib,"python3
5
_d.lib")
# elif defined(Py_LIMITED_API)
# pragma comment(lib,"python3.lib")
# else
# pragma comment(lib,"python3
4
.lib")
# pragma comment(lib,"python3
5
.lib")
# endif
/* _DEBUG */
# endif
/* _MSC_VER */
# endif
/* Py_BUILD_CORE */
...
...
PC/python3.def
Dosyayı görüntüle @
6373ba51
This diff is collapsed.
Click to expand it.
PC/python3.mak
Dosyayı görüntüle @
6373ba51
$(OutDir)python3.dll: python3.def $(OutDir)python3
4
stub.lib
cl /LD /Fe$(OutDir)python3.dll python3dll.c python3.def $(OutDir)python3
4
stub.lib
$(OutDir)python3.dll: python3.def $(OutDir)python3
5
stub.lib
cl /LD /Fe$(OutDir)python3.dll python3dll.c python3.def $(OutDir)python3
5
stub.lib
$(OutDir)python3
4stub.lib: python34
stub.def
lib /def:python3
4stub.def /out:$(OutDir)python34
stub.lib /MACHINE:$(MACHINE)
$(OutDir)python3
5stub.lib: python35
stub.def
lib /def:python3
5stub.def /out:$(OutDir)python35
stub.lib /MACHINE:$(MACHINE)
clean:
IF EXIST $(OutDir)python3.dll del $(OutDir)python3.dll
IF EXIST $(OutDir)python3.lib del $(OutDir)python3.lib
IF EXIST $(OutDir)python3
4stub.lib del $(OutDir)python34
stub.lib
IF EXIST $(OutDir)python3
5stub.lib del $(OutDir)python35
stub.lib
IF EXIST $(OutDir)python3.exp del $(OutDir)python3.exp
IF EXIST $(OutDir)python3
4stub.exp del $(OutDir)python34
stub.exp
IF EXIST $(OutDir)python3
5stub.exp del $(OutDir)python35
stub.exp
rebuild: clean $(OutDir)python3.dll
PC/python3
4
gen.py
→
PC/python3
5
gen.py
Dosyayı görüntüle @
6373ba51
# Generate python3
4
stub.def out of python3.def
# Generate python3
5
stub.def out of python3.def
# The regular import library cannot be used,
# since it doesn't provide the right symbols for
# data forwarding
out
=
open
(
"python3
4
stub.def"
,
"w"
)
out
.
write
(
'LIBRARY "python3
4
"
\n
'
)
out
=
open
(
"python3
5
stub.def"
,
"w"
)
out
.
write
(
'LIBRARY "python3
5
"
\n
'
)
out
.
write
(
'EXPORTS
\n
'
)
inp
=
open
(
"python3.def"
)
...
...
@@ -14,7 +14,7 @@ line = inp.readline() # LIBRARY
assert
line
.
strip
()
==
'EXPORTS'
for
line
in
inp
:
# SYM1=python3
4
.SYM2[ DATA]
# SYM1=python3
5
.SYM2[ DATA]
head
,
tail
=
line
.
split
(
'.'
)
if
'DATA'
in
tail
:
symbol
,
tail
=
tail
.
split
(
' '
)
...
...
PC/python3
4
stub.def
→
PC/python3
5
stub.def
Dosyayı görüntüle @
6373ba51
LIBRARY "python3
4
"
LIBRARY "python3
5
"
EXPORTS
PyArg_Parse
PyArg_ParseTuple
...
...
PCbuild/build_ssl.bat
Dosyayı görüntüle @
6373ba51
...
...
@@ -2,10 +2,10 @@
if not defined HOST_PYTHON (
if %1 EQU Debug (
set HOST_PYTHON=python_d.exe
if not exist python3
4
_d.dll exit 1
if not exist python3
5
_d.dll exit 1
) ELSE (
set HOST_PYTHON=python.exe
if not exist python3
4
.dll exit 1
if not exist python3
5
.dll exit 1
)
)
%HOST_PYTHON% build_ssl.py %1 %2 %3
...
...
PCbuild/kill_python.c
Dosyayı görüntüle @
6373ba51
...
...
@@ -106,7 +106,7 @@ main(int argc, char **argv)
/*
* XXX TODO: if we really wanted to be fancy, we could check the
* modules for all processes (not just the python[_d].exe ones)
* and see if any of our DLLs are loaded (i.e. python3
4
[_d].dll),
* and see if any of our DLLs are loaded (i.e. python3
5
[_d].dll),
* as that would also inhibit our ability to rebuild the solution.
* Not worth loosing sleep over though; for now, a simple check
* for just the python executable should be sufficient.
...
...
PCbuild/pyproject.props
Dosyayı görüntüle @
6373ba51
...
...
@@ -13,7 +13,7 @@
<IntDir>
$(SolutionDir)$(PlatformName)-temp-$(Configuration)\$(ProjectName)\
</IntDir>
</PropertyGroup>
<PropertyGroup
Label=
"UserMacros"
>
<PyDllName>
python3
4
$(PyDebugExt)
</PyDllName>
<PyDllName>
python3
5
$(PyDebugExt)
</PyDllName>
<PythonExe>
$(OutDir)python$(PyDebugExt).exe
</PythonExe>
<KillPythonExe>
$(OutDir)kill_python$(PyDebugExt).exe
</KillPythonExe>
<externalsDir>
..\..
</externalsDir>
...
...
PCbuild/readme.txt
Dosyayı görüntüle @
6373ba51
...
...
@@ -37,7 +37,7 @@ Debug
Used to build Python with extra debugging capabilities, equivalent
to using ./configure --with-pydebug on UNIX. All binaries built
using this configuration have "_d" added to their name:
python3
4
_d.dll, python_d.exe, parser_d.pyd, and so on. Both the
python3
5
_d.dll, python_d.exe, parser_d.pyd, and so on. Both the
build and rt (run test) batch files in this directory accept a -d
option for debug builds. If you are building Python to help with
development of CPython, you will most likely use this configuration.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment