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
5852fa3f
Kaydet (Commit)
5852fa3f
authored
Tem 18, 2016
tarafından
Steve Dower
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removes unused files from PC folder.
üst
25f9cf47
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
51 deletions
+0
-51
icons.mak
PC/icons.mak
+0
-9
icons.rc
PC/icons.rc
+0
-4
make_versioninfo.c
PC/make_versioninfo.c
+0
-38
No files found.
PC/icons.mak
deleted
100644 → 0
Dosyayı görüntüle @
25f9cf47
python_icon.exe: py.res empty.obj
link /out:python_icon.exe /machine:x86 /subsystem:windows py.res empty.obj
py.res: py.ico pyc.ico pycon.ico icons.rc
rc /fo py.res icons.rc
empty.obj: empty.c
cl /c empty.c
PC/icons.rc
deleted
100644 → 0
Dosyayı görüntüle @
25f9cf47
101 ICON "py.ico"
102 ICON "pyc.ico"
103 ICON "pycon.ico"
PC/make_versioninfo.c
deleted
100644 → 0
Dosyayı görüntüle @
25f9cf47
#include <stdio.h>
#include "patchlevel.h"
/*
* This program prints out an include file containing fields required to build
* the version info resource of pythonxx.dll because the resource compiler
* cannot do the arithmetic.
*/
/*
* FIELD3 is the third field of the version number.
* This is what we'd like FIELD3 to be:
*
* #define FIELD3 (PY_MICRO_VERSION*1000 + PY_RELEASE_LEVEL*10 + PY_RELEASE_SERIAL)
*
* but that neither gives an error nor comes anywhere close to working.
*
* For 2.4a0,
* PY_MICRO_VERSION = 0
* PY_RELEASE_LEVEL = 'alpha' = 0xa
* PY_RELEASE_SERIAL = 0
*
* gives FIELD3 = 0*1000 + 10*10 + 0 = 100
*/
int
main
(
int
argc
,
char
**
argv
)
{
printf
(
"/* This file created by make_versioninfo.exe */
\n
"
);
printf
(
"#define FIELD3 %d
\n
"
,
PY_MICRO_VERSION
*
1000
+
PY_RELEASE_LEVEL
*
10
+
PY_RELEASE_SERIAL
);
printf
(
"#define MS_DLL_ID
\"
%d.%d
\"\n
"
,
PY_MAJOR_VERSION
,
PY_MINOR_VERSION
);
printf
(
"#ifndef _DEBUG
\n
"
);
printf
(
"#define PYTHON_DLL_NAME
\"
python%d%d.dll
\"\n
"
,
PY_MAJOR_VERSION
,
PY_MINOR_VERSION
);
printf
(
"#else
\n
"
);
printf
(
"#define PYTHON_DLL_NAME
\"
python%d%d_d.dll
\"\n
"
,
PY_MAJOR_VERSION
,
PY_MINOR_VERSION
);
printf
(
"#endif
\n
"
);
return
0
;
}
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