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
793626ad
Kaydet (Commit)
793626ad
authored
Eyl 04, 2015
tarafından
Zachary Ware
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Closes #24986: Merge with 3.5
üst
36f1d554
b27f3c3e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
6 deletions
+38
-6
NEWS
Misc/NEWS
+6
-0
build.bat
PCbuild/build.bat
+22
-2
pcbuild.proj
PCbuild/pcbuild.proj
+10
-4
No files found.
Misc/NEWS
Dosyayı görüntüle @
793626ad
...
@@ -83,6 +83,12 @@ Tests
...
@@ -83,6 +83,12 @@ Tests
- PCbuild\rt.bat now accepts an unlimited number of arguments to pass along
- PCbuild\rt.bat now accepts an unlimited number of arguments to pass along
to regrtest.py. Previously there was a limit of 9.
to regrtest.py. Previously there was a limit of 9.
Build
-----
- Issue #24986: It is now possible to build Python on Windows without errors
when external libraries are not available.
What'
s
New
in
Python
3.5.1
What'
s
New
in
Python
3.5.1
==========================
==========================
...
...
PCbuild/build.bat
Dosyayı görüntüle @
793626ad
...
@@ -18,12 +18,19 @@ echo. -V Display version information for the current build
...
@@ -18,12 +18,19 @@ echo. -V Display version information for the current build
echo. -r Target Rebuild instead of Build
echo. -r Target Rebuild instead of Build
echo. -d Set the configuration to Debug
echo. -d Set the configuration to Debug
echo. -e Build external libraries fetched by get_externals.bat
echo. -e Build external libraries fetched by get_externals.bat
echo. Extension modules that depend on external libraries will not attempt
echo. to build if this flag is not present
echo. -m Enable parallel build (enabled by default)
echo. -m Enable parallel build (enabled by default)
echo. -M Disable parallel build
echo. -M Disable parallel build
echo. -v Increased output messages
echo. -v Increased output messages
echo. -k Attempt to kill any running Pythons before building (usually done
echo. -k Attempt to kill any running Pythons before building (usually done
echo. automatically by the pythoncore project)
echo. automatically by the pythoncore project)
echo.
echo.
echo.Available flags to avoid building certain modules.
echo.These flags have no effect if '-e' is not given:
echo. --no-ssl Do not attempt to build _ssl
echo. --no-tkinter Do not attempt to build Tkinter
echo.
echo.Available arguments:
echo.Available arguments:
echo. -c Release ^| Debug ^| PGInstrument ^| PGUpdate
echo. -c Release ^| Debug ^| PGInstrument ^| PGUpdate
echo. Set the configuration (default: Release)
echo. Set the configuration (default: Release)
...
@@ -51,12 +58,21 @@ if "%~1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts
...
@@ -51,12 +58,21 @@ if "%~1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts
if "%~1"=="-r" (set target=Rebuild) & shift & goto CheckOpts
if "%~1"=="-r" (set target=Rebuild) & shift & goto CheckOpts
if "%~1"=="-t" (set target=%2) & shift & shift & goto CheckOpts
if "%~1"=="-t" (set target=%2) & shift & shift & goto CheckOpts
if "%~1"=="-d" (set conf=Debug) & shift & goto CheckOpts
if "%~1"=="-d" (set conf=Debug) & shift & goto CheckOpts
if "%~1"=="-e" call "%dir%get_externals.bat" & shift & goto CheckOpts
if "%~1"=="-m" (set parallel=/m) & shift & goto CheckOpts
if "%~1"=="-m" (set parallel=/m) & shift & goto CheckOpts
if "%~1"=="-M" (set parallel=) & shift & goto CheckOpts
if "%~1"=="-M" (set parallel=) & shift & goto CheckOpts
if "%~1"=="-v" (set verbose=/v:n) & shift & goto CheckOpts
if "%~1"=="-v" (set verbose=/v:n) & shift & goto CheckOpts
if "%~1"=="-k" (set kill=true) & shift & goto CheckOpts
if "%~1"=="-k" (set kill=true) & shift & goto CheckOpts
if "%~1"=="-V" shift & goto Version
if "%~1"=="-V" shift & goto Version
rem These use the actual property names used by MSBuild. We could just let
rem them in through the environment, but we specify them on the command line
rem anyway for visibility so set defaults after this
if "%~1"=="-e" (set IncludeExternals=true) & call "%dir%get_externals.bat" & shift & goto CheckOpts
if "%~1"=="--no-ssl" (set IncludeSSL=false) & shift & goto CheckOpts
if "%~1"=="--no-tkinter" (set IncludeTkinter=false) & shift & goto CheckOpts
if "%IncludeExternals%"=="" set IncludeExternals=false
if "%IncludeSSL%"=="" set IncludeSSL=true
if "%IncludeTkinter%"=="" set IncludeTkinter=true
if "%platf%"=="x64" (set vs_platf=x86_amd64)
if "%platf%"=="x64" (set vs_platf=x86_amd64)
...
@@ -71,7 +87,11 @@ rem Call on MSBuild to do the work, echo the command.
...
@@ -71,7 +87,11 @@ rem Call on MSBuild to do the work, echo the command.
rem Passing %1-9 is not the preferred option, but argument parsing in
rem Passing %1-9 is not the preferred option, but argument parsing in
rem batch is, shall we say, "lackluster"
rem batch is, shall we say, "lackluster"
echo on
echo on
msbuild "%dir%pcbuild.proj" /t:%target% %parallel% %verbose% /p:Configuration=%conf% /p:Platform=%platf% %1 %2 %3 %4 %5 %6 %7 %8 %9
msbuild "%dir%pcbuild.proj" /t:%target% %parallel% %verbose%^
/p:Configuration=%conf% /p:Platform=%platf%^
/p:IncludeExternals=%IncludeExternals%^
/p:IncludeSSL=%IncludeSSL% /p:IncludeTkinter=%IncludeTkinter%^
%1 %2 %3 %4 %5 %6 %7 %8 %9
@goto :eof
@goto :eof
...
...
PCbuild/pcbuild.proj
Dosyayı görüntüle @
793626ad
...
@@ -5,8 +5,10 @@
...
@@ -5,8 +5,10 @@
<Platform
Condition=
"'$(Platform)' == ''"
>
Win32
</Platform>
<Platform
Condition=
"'$(Platform)' == ''"
>
Win32
</Platform>
<Configuration
Condition=
"'$(Configuration)' == ''"
>
Release
</Configuration>
<Configuration
Condition=
"'$(Configuration)' == ''"
>
Release
</Configuration>
<IncludeExtensions
Condition=
"'$(IncludeExtensions)' == ''"
>
true
</IncludeExtensions>
<IncludeExtensions
Condition=
"'$(IncludeExtensions)' == ''"
>
true
</IncludeExtensions>
<IncludeExternals
Condition=
"'$(IncludeExternals)' == ''"
>
true
</IncludeExternals>
<IncludeTests
Condition=
"'$(IncludeTest)' == ''"
>
true
</IncludeTests>
<IncludeTests
Condition=
"'$(IncludeTest)' == ''"
>
true
</IncludeTests>
<IncludeSSL
Condition=
"'$(IncludeSSL)' == ''"
>
true
</IncludeSSL>
<IncludeSSL
Condition=
"'$(IncludeSSL)' == ''"
>
true
</IncludeSSL>
<IncludeTkinter
Condition=
"'$(IncludeTkinter)' == ''"
>
true
</IncludeTkinter>
</PropertyGroup>
</PropertyGroup>
<ItemDefinitionGroup>
<ItemDefinitionGroup>
...
@@ -25,7 +27,7 @@
...
@@ -25,7 +27,7 @@
<!--
<!--
Parallel build is explicitly disabled for this project because it
Parallel build is explicitly disabled for this project because it
causes many conflicts between pythoncore and projects that depend
causes many conflicts between pythoncore and projects that depend
i
n pythoncore. Once the core DLL has been built, subsequent
o
n pythoncore. Once the core DLL has been built, subsequent
projects will be built in parallel.
projects will be built in parallel.
-->
-->
<Projects
Include=
"pythoncore.vcxproj"
>
<Projects
Include=
"pythoncore.vcxproj"
>
...
@@ -40,10 +42,14 @@
...
@@ -40,10 +42,14 @@
<!-- _freeze_importlib -->
<!-- _freeze_importlib -->
<Projects
Include=
"_freeze_importlib.vcxproj"
/>
<Projects
Include=
"_freeze_importlib.vcxproj"
/>
<!-- Extension modules -->
<!-- Extension modules -->
<ExtensionModules
Include=
"_bz2;_ctypes;_decimal;_elementtree;_lzma;_msi;_multiprocessing;_overlapped;_sqlite3;_tkinter;tix;pyexpat;select;unicodedata;winsound"
/>
<ExtensionModules
Include=
"_ctypes;_decimal;_elementtree;_msi;_multiprocessing;_overlapped;pyexpat;select;unicodedata;winsound"
/>
<!-- Extension modules that require external sources -->
<ExternalModules
Include=
"_bz2;_lzma;_sqlite3"
/>
<!-- _ssl will build _socket as well, which may cause conflicts in parallel builds -->
<!-- _ssl will build _socket as well, which may cause conflicts in parallel builds -->
<ExtensionModules
Include=
"_socket"
Condition=
"!$(IncludeSSL)"
/>
<ExtensionModules
Include=
"_socket"
Condition=
"!$(IncludeSSL) or !$(IncludeExternals)"
/>
<ExtensionModules
Include=
"_ssl;_hashlib"
Condition=
"$(IncludeSSL)"
/>
<ExternalModules
Include=
"_ssl;_hashlib"
Condition=
"$(IncludeSSL)"
/>
<ExternalModules
Include=
"_tkinter;tix"
Condition=
"$(IncludeTkinter)"
/>
<ExtensionModules
Include=
"@(ExternalModules->'%(Identity)')"
Condition=
"$(IncludeExternals)"
/>
<Projects
Include=
"@(ExtensionModules->'%(Identity).vcxproj')"
Condition=
"$(IncludeExtensions)"
/>
<Projects
Include=
"@(ExtensionModules->'%(Identity).vcxproj')"
Condition=
"$(IncludeExtensions)"
/>
<!-- Test modules -->
<!-- Test modules -->
<TestModules
Include=
"_ctypes_test;_testbuffer;_testcapi;_testembed;_testimportmultiple;_testmultiphase"
/>
<TestModules
Include=
"_ctypes_test;_testbuffer;_testcapi;_testembed;_testimportmultiple;_testmultiphase"
/>
...
...
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