FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cpython/Tools/nuget/python.props at pythoncapi · pythoncapi/cpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
pythoncapi
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cpython
/
Tools
/
nuget
/
python.props
Copy path
More file actions
More file actions
Latest commit
History
History
History
56 lines (50 loc) · 3 KB
Breadcrumbs
cpython
/
Tools
/
nuget
/
python.props
Copy path
File metadata and controls
56 lines (50 loc) · 3 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?
xml
version
=
"
1.0
"
encoding
=
"
utf-8
"
?>
<
Project
xmlns
=
"
http://schemas.microsoft.com/developer/msbuild/2003
"
>
<
PropertyGroup
Condition
=
"
$(Platform) == '$$PYTHON_PLATFORM$$'
"
>
<
PythonHome
>$(MSBuildThisFileDirectory)\..\..\tools</
PythonHome
>
<
PythonInclude
>$(PythonHome)\include</
PythonInclude
>
<
PythonLibs
>$(PythonHome)\libs</
PythonLibs
>
<
PythonTag
>$$PYTHON_TAG$$</
PythonTag
>
<
PythonVersion
>$$PYTHON_VERSION$$</
PythonVersion
>
<
IncludePythonExe
Condition
=
"
$(IncludePythonExe) == ''
"
>true</
IncludePythonExe
>
<
IncludeDistutils
Condition
=
"
$(IncludeDistutils) == ''
"
>false</
IncludeDistutils
>
<
IncludeLib2To3
Condition
=
"
$(IncludeLib2To3) == ''
"
>false</
IncludeLib2To3
>
<
IncludeVEnv
Condition
=
"
$(IncludeVEnv) == ''
"
>false</
IncludeVEnv
>
<
GetPythonRuntimeFilesDependsOn
>$$PYTHON_TARGET$$;$(GetPythonRuntimeFilesDependsOn)</
GetPythonRuntimeFilesDependsOn
>
</
PropertyGroup
>
<
ItemDefinitionGroup
Condition
=
"
$(Platform) == '$$PYTHON_PLATFORM$$'
"
>
<
ClCompile
>
<
AdditionalIncludeDirectories
>$(PythonInclude);%(AdditionalIncludeDirectories)</
AdditionalIncludeDirectories
>
<
RuntimeLibrary
>MultiThreadedDLL</
RuntimeLibrary
>
</
ClCompile
>
<
Link
>
<
AdditionalLibraryDirectories
>$(PythonLibs);%(AdditionalLibraryDirectories)</
AdditionalLibraryDirectories
>
</
Link
>
</
ItemDefinitionGroup
>
<
Target
Name
=
"
GetPythonRuntimeFiles
"
Returns
=
"
@(PythonRuntime)
"
DependsOnTargets
=
"
$(GetPythonRuntimeFilesDependsOn)
"
/>
<
Target
Name
=
"
$$PYTHON_TARGET$$
"
Returns
=
"
@(PythonRuntime)
"
>
<
ItemGroup
>
<
_PythonRuntimeExe
Include
=
"
$(PythonHome)\python*.dll
"
/>
<
_PythonRuntimeExe
Include
=
"
$(PythonHome)\vcruntime140.dll
"
/>
<
_PythonRuntimeExe
Include
=
"
$(PythonHome)\python*.exe
"
Condition
=
"
$(IncludePythonExe) == 'true'
"
/>
<
_PythonRuntimeExe
>
<
Link
>%(Filename)%(Extension)</
Link
>
</
_PythonRuntimeExe
>
<
_PythonRuntimeDlls
Include
=
"
$(PythonHome)\DLLs\*.pyd
"
/>
<
_PythonRuntimeDlls
Include
=
"
$(PythonHome)\DLLs\*.dll
"
/>
<
_PythonRuntimeDlls
>
<
Link
>DLLs\%(Filename)%(Extension)</
Link
>
</
_PythonRuntimeDlls
>
<
_PythonRuntimeLib
Include
=
"
$(PythonHome)\Lib\**\*
"
Exclude
=
"
$(PythonHome)\Lib\**\*.pyc;$(PythonHome)\Lib\site-packages\**\*
"
/>
<
_PythonRuntimeLib
Remove
=
"
$(PythonHome)\Lib\distutils\**\*
"
Condition
=
"
$(IncludeDistutils) != 'true'
"
/>
<
_PythonRuntimeLib
Remove
=
"
$(PythonHome)\Lib\lib2to3\**\*
"
Condition
=
"
$(IncludeLib2To3) != 'true'
"
/>
<
_PythonRuntimeLib
Remove
=
"
$(PythonHome)\Lib\ensurepip\**\*
"
Condition
=
"
$(IncludeVEnv) != 'true'
"
/>
<
_PythonRuntimeLib
Remove
=
"
$(PythonHome)\Lib\venv\**\*
"
Condition
=
"
$(IncludeVEnv) != 'true'
"
/>
<
_PythonRuntimeLib
>
<
Link
>Lib\%(RecursiveDir)%(Filename)%(Extension)</
Link
>
</
_PythonRuntimeLib
>
<
PythonRuntime
Include
=
"
@(_PythonRuntimeExe);@(_PythonRuntimeDlls);@(_PythonRuntimeLib)
"
/>
</
ItemGroup
>
<
Message
Importance
=
"
low
"
Text
=
"
Collected Python runtime from $(PythonHome):%0D%0A@(PythonRuntime->' %(Link)','%0D%0A')
"
/>
</
Target
>
</
Project
>
Back
|
FazBrowse Home
|
New Git URL