-
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathsysconfig.po
More file actions
835 lines (697 loc) · 29.4 KB
/
Copy pathsysconfig.po
File metadata and controls
835 lines (697 loc) · 29.4 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2026
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-09-11 17:24+0000\n"
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
"Last-Translator: python-doc bot, 2026\n"
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
"ja/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../library/sysconfig.rst:2
msgid ""
":mod:`!sysconfig` --- Provide access to Python's configuration information"
msgstr ":mod:`!sysconfig` --- Python の構成情報へのアクセスを提供する"
#: ../../library/sysconfig.rst:9
msgid "**Source code:** :source:`Lib/sysconfig`"
msgstr "**ソースコード:** :source:`Lib/sysconfig`"
#: ../../library/sysconfig.rst:16
msgid ""
"The :mod:`!sysconfig` module provides access to Python's configuration "
"information like the list of installation paths and the configuration "
"variables relevant for the current platform."
msgstr ""
#: ../../library/sysconfig.rst:22
msgid "Configuration variables"
msgstr "構成変数"
#: ../../library/sysconfig.rst:24
msgid ""
"A Python distribution contains a :file:`Makefile` and a :file:`pyconfig.h` "
"header file that are necessary to build both the Python binary itself and "
"third-party C extensions compiled using ``setuptools``."
msgstr ""
"Python の配布物は、Python 自体のバイナリや、 ``setuptools`` によってコンパイ"
"ルされるサードパーティの C 拡張をビルドするために必要な、:file:`Makefile` "
"と :file:`pyconfig.h` ヘッダーファイルを含んでいます。"
#: ../../library/sysconfig.rst:28
msgid ""
":mod:`!sysconfig` puts all variables found in these files in a dictionary "
"that can be accessed using :func:`get_config_vars` or :func:`get_config_var`."
msgstr ""
#: ../../library/sysconfig.rst:31
msgid "Notice that on Windows, it's a much smaller set."
msgstr "Windows では構成変数はだいぶ少なくなります。"
#: ../../library/sysconfig.rst:35
msgid ""
"With no arguments, return a dictionary of all configuration variables "
"relevant for the current platform."
msgstr ""
"引数がない場合、現在のプラットフォームに関するすべての構成変数の辞書を返しま"
"す。"
#: ../../library/sysconfig.rst:38
msgid ""
"With arguments, return a list of values that result from looking up each "
"argument in the configuration variable dictionary."
msgstr ""
"引数がある場合、各引数を構成変数辞書から検索した結果の変数のリストを返しま"
"す。"
#: ../../library/sysconfig.rst:41
msgid "For each argument, if the value is not found, return ``None``."
msgstr "各引数において、変数が見つからなかった場合は ``None`` が返されます。"
#: ../../library/sysconfig.rst:46
msgid ""
"Return the value of a single variable *name*. Equivalent to "
"``get_config_vars().get(name)``."
msgstr ""
"1つの変数 *name* を返します。``get_config_vars().get(name)`` と同じです。"
#: ../../library/sysconfig.rst:49
msgid "If *name* is not found, return ``None``."
msgstr "*name* が見つからない場合、``None`` を返します。"
#: ../../library/sysconfig.rst:51
msgid "Example of usage::"
msgstr "Example of usage::"
#: ../../library/sysconfig.rst:53
msgid ""
">>> import sysconfig\n"
">>> sysconfig.get_config_var('Py_ENABLE_SHARED')\n"
"0\n"
">>> sysconfig.get_config_var('LIBDIR')\n"
"'/usr/local/lib'\n"
">>> sysconfig.get_config_vars('AR', 'CXX')\n"
"['ar', 'g++']"
msgstr ""
#: ../../library/sysconfig.rst:65
msgid "Installation paths"
msgstr "インストールパス"
#: ../../library/sysconfig.rst:67
msgid ""
"Python uses an installation scheme that differs depending on the platform "
"and on the installation options. These schemes are stored in :mod:`!"
"sysconfig` under unique identifiers based on the value returned by :const:"
"`os.name`. The schemes are used by package installers to determine where to "
"copy files to."
msgstr ""
#: ../../library/sysconfig.rst:72
msgid "Python currently supports nine schemes:"
msgstr "Python は現在9つのスキームをサポートしています:"
#: ../../library/sysconfig.rst:74
msgid ""
"*posix_prefix*: scheme for POSIX platforms like Linux or macOS. This is the "
"default scheme used when Python or a component is installed."
msgstr ""
"*posix_prefix*: Linux や macOS などの POSIX プラットフォーム用のスキームで"
"す。これは Python やコンポーネントをインストールするときに使われるデフォルト"
"のスキームです。"
#: ../../library/sysconfig.rst:76
msgid ""
"*posix_home*: scheme for POSIX platforms, when the *home* option is used. "
"This scheme defines paths located under a specific home prefix."
msgstr ""
#: ../../library/sysconfig.rst:78
msgid ""
"*posix_user*: scheme for POSIX platforms, when the *user* option is used. "
"This scheme defines paths located under the user's home directory (:const:"
"`site.USER_BASE`)."
msgstr ""
#: ../../library/sysconfig.rst:81
msgid ""
"*posix_venv*: scheme for :mod:`Python virtual environments <venv>` on POSIX "
"platforms; by default it is the same as *posix_prefix*."
msgstr ""
#: ../../library/sysconfig.rst:83
msgid ""
"*nt*: scheme for Windows. This is the default scheme used when Python or a "
"component is installed."
msgstr ""
#: ../../library/sysconfig.rst:85
msgid "*nt_user*: scheme for Windows, when the *user* option is used."
msgstr ""
#: ../../library/sysconfig.rst:86
msgid ""
"*nt_venv*: scheme for :mod:`Python virtual environments <venv>` on Windows; "
"by default it is the same as *nt*."
msgstr ""
#: ../../library/sysconfig.rst:88
msgid ""
"*venv*: a scheme with values from either *posix_venv* or *nt_venv* depending "
"on the platform Python runs on."
msgstr ""
#: ../../library/sysconfig.rst:90
msgid "*osx_framework_user*: scheme for macOS, when the *user* option is used."
msgstr ""
"*osx_framework_user* オプションが利用された場合の、macOS 用のスキームです。"
#: ../../library/sysconfig.rst:92
msgid ""
"Each scheme is itself composed of a series of paths and each path has a "
"unique identifier. Python currently uses eight paths:"
msgstr ""
"各スキームは、ユニークな識別子を持ったいくつかのパスの集合から成っています。"
"現在 Python は8つのパスを利用します:"
#: ../../library/sysconfig.rst:95
msgid ""
"*stdlib*: directory containing the standard Python library files that are "
"not platform-specific."
msgstr ""
"*stdlib*: プラットフォーム非依存の、標準 Python ライブラリファイルを格納する"
"ディレクトリ."
#: ../../library/sysconfig.rst:97
msgid ""
"*platstdlib*: directory containing the standard Python library files that "
"are platform-specific."
msgstr ""
"*platstdlib*: プラットフォーム依存の、標準 Python ライブラリファイルを格納す"
"るディレクトリ."
#: ../../library/sysconfig.rst:99
msgid "*platlib*: directory for site-specific, platform-specific files."
msgstr ""
"*platlib*: プラットフォーム依存の、site ごとのファイルを格納するディレクト"
"リ。"
#: ../../library/sysconfig.rst:100
msgid ""
"*purelib*: directory for site-specific, non-platform-specific files ('pure' "
"Python)."
msgstr ""
#: ../../library/sysconfig.rst:101
msgid ""
"*include*: directory for non-platform-specific header files for the Python C-"
"API."
msgstr ""
#: ../../library/sysconfig.rst:103
msgid ""
"*platinclude*: directory for platform-specific header files for the Python C-"
"API."
msgstr ""
#: ../../library/sysconfig.rst:105
msgid "*scripts*: directory for script files."
msgstr "*scripts*: スクリプトファイルのためのディレクトリ。"
#: ../../library/sysconfig.rst:106
msgid "*data*: directory for data files."
msgstr "*data*: データファイルのためのディレクトリ。"
#: ../../library/sysconfig.rst:112
msgid "User scheme"
msgstr ""
#: ../../library/sysconfig.rst:114
msgid ""
"This scheme is designed to be the most convenient solution for users that "
"don't have write permission to the global site-packages directory or don't "
"want to install into it."
msgstr ""
#: ../../library/sysconfig.rst:118
msgid ""
"Files will be installed into subdirectories of :const:`site.USER_BASE` "
"(written as :file:`{userbase}` hereafter). This scheme installs pure Python "
"modules and extension modules in the same location (also known as :const:"
"`site.USER_SITE`)."
msgstr ""
#: ../../library/sysconfig.rst:123
msgid "``posix_user``"
msgstr ""
#: ../../library/sysconfig.rst:126 ../../library/sysconfig.rst:141
#: ../../library/sysconfig.rst:156 ../../library/sysconfig.rst:184
#: ../../library/sysconfig.rst:226 ../../library/sysconfig.rst:242
msgid "Path"
msgstr ""
#: ../../library/sysconfig.rst:126 ../../library/sysconfig.rst:141
#: ../../library/sysconfig.rst:156 ../../library/sysconfig.rst:184
#: ../../library/sysconfig.rst:226 ../../library/sysconfig.rst:242
msgid "Installation directory"
msgstr "インストールディレクトリ"
#: ../../library/sysconfig.rst:128 ../../library/sysconfig.rst:143
#: ../../library/sysconfig.rst:158 ../../library/sysconfig.rst:186
#: ../../library/sysconfig.rst:228 ../../library/sysconfig.rst:244
msgid "*stdlib*"
msgstr ""
#: ../../library/sysconfig.rst:128 ../../library/sysconfig.rst:129
msgid ":file:`{userbase}/lib/python{X.Y}`"
msgstr ""
#: ../../library/sysconfig.rst:129 ../../library/sysconfig.rst:144
#: ../../library/sysconfig.rst:159 ../../library/sysconfig.rst:187
#: ../../library/sysconfig.rst:229 ../../library/sysconfig.rst:245
msgid "*platstdlib*"
msgstr ""
#: ../../library/sysconfig.rst:130 ../../library/sysconfig.rst:145
#: ../../library/sysconfig.rst:160 ../../library/sysconfig.rst:188
#: ../../library/sysconfig.rst:230 ../../library/sysconfig.rst:246
msgid "*platlib*"
msgstr ""
#: ../../library/sysconfig.rst:130 ../../library/sysconfig.rst:131
msgid ":file:`{userbase}/lib/python{X.Y}/site-packages`"
msgstr ":file:`{userbase}/lib/python{X.Y}/site-packages`"
#: ../../library/sysconfig.rst:131 ../../library/sysconfig.rst:146
#: ../../library/sysconfig.rst:161 ../../library/sysconfig.rst:189
#: ../../library/sysconfig.rst:231 ../../library/sysconfig.rst:247
msgid "*purelib*"
msgstr ""
#: ../../library/sysconfig.rst:132 ../../library/sysconfig.rst:147
#: ../../library/sysconfig.rst:162 ../../library/sysconfig.rst:190
#: ../../library/sysconfig.rst:232 ../../library/sysconfig.rst:248
msgid "*include*"
msgstr ""
#: ../../library/sysconfig.rst:132 ../../library/sysconfig.rst:162
msgid ":file:`{userbase}/include/python{X.Y}`"
msgstr ""
#: ../../library/sysconfig.rst:133 ../../library/sysconfig.rst:148
#: ../../library/sysconfig.rst:163 ../../library/sysconfig.rst:192
#: ../../library/sysconfig.rst:234 ../../library/sysconfig.rst:250
msgid "*scripts*"
msgstr "*scripts*"
#: ../../library/sysconfig.rst:133 ../../library/sysconfig.rst:163
msgid ":file:`{userbase}/bin`"
msgstr ":file:`{userbase}/bin`"
#: ../../library/sysconfig.rst:134 ../../library/sysconfig.rst:149
#: ../../library/sysconfig.rst:164 ../../library/sysconfig.rst:193
#: ../../library/sysconfig.rst:235 ../../library/sysconfig.rst:251
msgid "*data*"
msgstr "*data*"
#: ../../library/sysconfig.rst:134 ../../library/sysconfig.rst:149
#: ../../library/sysconfig.rst:164
msgid ":file:`{userbase}`"
msgstr ":file:`{userbase}`"
#: ../../library/sysconfig.rst:138
msgid "``nt_user``"
msgstr ""
#: ../../library/sysconfig.rst:143 ../../library/sysconfig.rst:144
msgid ":file:`{userbase}\\\\Python{XY}`"
msgstr ""
#: ../../library/sysconfig.rst:145 ../../library/sysconfig.rst:146
msgid ":file:`{userbase}\\\\Python{XY}\\\\site-packages`"
msgstr ":file:`{userbase}\\\\Python{XY}\\\\site-packages`"
#: ../../library/sysconfig.rst:147
msgid ":file:`{userbase}\\\\Python{XY}\\\\Include`"
msgstr ""
#: ../../library/sysconfig.rst:148
msgid ":file:`{userbase}\\\\Python{XY}\\\\Scripts`"
msgstr ":file:`{userbase}\\\\Python{XY}\\\\Scripts`"
#: ../../library/sysconfig.rst:153
msgid "``osx_framework_user``"
msgstr ""
#: ../../library/sysconfig.rst:158 ../../library/sysconfig.rst:159
msgid ":file:`{userbase}/lib/python`"
msgstr ":file:`{userbase}/lib/python`"
#: ../../library/sysconfig.rst:160 ../../library/sysconfig.rst:161
msgid ":file:`{userbase}/lib/python/site-packages`"
msgstr ""
#: ../../library/sysconfig.rst:171
msgid "Home scheme"
msgstr ""
#: ../../library/sysconfig.rst:173
msgid ""
"The idea behind the \"home scheme\" is that you build and maintain a "
"personal stash of Python modules. This scheme's name is derived from the "
"idea of a \"home\" directory on Unix, since it's not unusual for a Unix user "
"to make their home directory have a layout similar to :file:`/usr/` or :file:"
"`/usr/local/`. This scheme can be used by anyone, regardless of the "
"operating system they are installing for."
msgstr ""
"\"home スキーム\" の背後にある考え方は、Python モジュールを個人用のモジュール"
"置き場でビルドし、維持するというものです。このスキームの名前は Unixの「ホー"
"ム」ディレクトリの概念からとりました。というのも、 Unixのユーザにとって、自分"
"のホームディレクトリを :file:`/usr/` や :file:`/usr/local/` のようにレイアウ"
"トするのはよくあることだからです。とはいえ、このスキームはどのオペレーティン"
"グシステムのユーザでも使えます。"
#: ../../library/sysconfig.rst:181
msgid "``posix_home``"
msgstr ""
#: ../../library/sysconfig.rst:186 ../../library/sysconfig.rst:187
#: ../../library/sysconfig.rst:188 ../../library/sysconfig.rst:189
msgid ":file:`{home}/lib/python`"
msgstr ":file:`{home}/lib/python`"
#: ../../library/sysconfig.rst:190 ../../library/sysconfig.rst:191
msgid ":file:`{home}/include/python`"
msgstr ""
#: ../../library/sysconfig.rst:191 ../../library/sysconfig.rst:233
#: ../../library/sysconfig.rst:249
msgid "*platinclude*"
msgstr ""
#: ../../library/sysconfig.rst:192
msgid ":file:`{home}/bin`"
msgstr ":file:`{home}/bin`"
#: ../../library/sysconfig.rst:193
msgid ":file:`{home}`"
msgstr ":file:`{home}`"
#: ../../library/sysconfig.rst:200
msgid "Prefix scheme"
msgstr ""
#: ../../library/sysconfig.rst:202
msgid ""
"The \"prefix scheme\" is useful when you wish to use one Python installation "
"to perform the build/install (i.e., to run the setup script), but install "
"modules into the third-party module directory of a different Python "
"installation (or something that looks like a different Python "
"installation). If this sounds a trifle unusual, it is---that's why the user "
"and home schemes come before. However, there are at least two known cases "
"where the prefix scheme will be useful."
msgstr ""
"あるインストール済みの Python を使ってモジュールのビルド/インストールを (例え"
"ば setup スクリプトを実行して) 行いたいけれども、 別のインストール済みの "
"Python のサードパーティ製モジュール置き場 (あるいは、そう見えるようなディレク"
"トリ構造) に、ビルドされた モジュールをインストールしたい場合には、\"prefix "
"スキーム\" が便利です。そんな作業はまったくありえそうにない、と思うなら、確か"
"にその通りです --- \"home スキーム\" を先に説明したのもそのためです。とはい"
"え、prefix スキームが有用なケースは少なくとも二つあります。"
#: ../../library/sysconfig.rst:209
msgid ""
"First, consider that many Linux distributions put Python in :file:`/usr`, "
"rather than the more traditional :file:`/usr/local`. This is entirely "
"appropriate, since in those cases Python is part of \"the system\" rather "
"than a local add-on. However, if you are installing Python modules from "
"source, you probably want them to go in :file:`/usr/local/lib/python2.{X}` "
"rather than :file:`/usr/lib/python2.{X}`."
msgstr ""
#: ../../library/sysconfig.rst:216
msgid ""
"Another possibility is a network filesystem where the name used to write to "
"a remote directory is different from the name used to read it: for example, "
"the Python interpreter accessed as :file:`/usr/local/bin/python` might "
"search for modules in :file:`/usr/local/lib/python2.{X}`, but those modules "
"would have to be installed to, say, :file:`/mnt/{@server}/export/lib/python2."
"{X}`."
msgstr ""
#: ../../library/sysconfig.rst:223
msgid "``posix_prefix``"
msgstr ""
#: ../../library/sysconfig.rst:228 ../../library/sysconfig.rst:229
msgid ":file:`{prefix}/lib/python{X.Y}`"
msgstr ""
#: ../../library/sysconfig.rst:230 ../../library/sysconfig.rst:231
msgid ":file:`{prefix}/lib/python{X.Y}/site-packages`"
msgstr ":file:`{prefix}/lib/python{X.Y}/site-packages`"
#: ../../library/sysconfig.rst:232 ../../library/sysconfig.rst:233
msgid ":file:`{prefix}/include/python{X.Y}`"
msgstr ""
#: ../../library/sysconfig.rst:234
msgid ":file:`{prefix}/bin`"
msgstr ":file:`{prefix}/bin`"
#: ../../library/sysconfig.rst:235 ../../library/sysconfig.rst:251
msgid ":file:`{prefix}`"
msgstr ":file:`{prefix}`"
#: ../../library/sysconfig.rst:239
msgid "``nt``"
msgstr ""
#: ../../library/sysconfig.rst:244 ../../library/sysconfig.rst:245
msgid ":file:`{prefix}\\\\Lib`"
msgstr ""
#: ../../library/sysconfig.rst:246 ../../library/sysconfig.rst:247
msgid ":file:`{prefix}\\\\Lib\\\\site-packages`"
msgstr ":file:`{prefix}\\\\Lib\\\\site-packages`"
#: ../../library/sysconfig.rst:248 ../../library/sysconfig.rst:249
msgid ":file:`{prefix}\\\\Include`"
msgstr ""
#: ../../library/sysconfig.rst:250
msgid ":file:`{prefix}\\\\Scripts`"
msgstr ":file:`{prefix}\\\\Scripts`"
#: ../../library/sysconfig.rst:256
msgid "Installation path functions"
msgstr ""
#: ../../library/sysconfig.rst:258
msgid ""
":mod:`!sysconfig` provides some functions to determine these installation "
"paths."
msgstr ""
#: ../../library/sysconfig.rst:262
msgid ""
"Return a tuple containing all schemes currently supported in :mod:`!"
"sysconfig`."
msgstr ""
#: ../../library/sysconfig.rst:268
msgid "Return the default scheme name for the current platform."
msgstr ""
#: ../../library/sysconfig.rst:270
msgid ""
"This function was previously named ``_get_default_scheme()`` and considered "
"an implementation detail."
msgstr ""
#: ../../library/sysconfig.rst:274
msgid ""
"When Python runs from a virtual environment, the *venv* scheme is returned."
msgstr ""
#: ../../library/sysconfig.rst:280
msgid ""
"Return a preferred scheme name for an installation layout specified by *key*."
msgstr ""
#: ../../library/sysconfig.rst:282
msgid "*key* must be either ``\"prefix\"``, ``\"home\"``, or ``\"user\"``."
msgstr ""
#: ../../library/sysconfig.rst:284
msgid ""
"The return value is a scheme name listed in :func:`get_scheme_names`. It can "
"be passed to :mod:`!sysconfig` functions that take a *scheme* argument, such "
"as :func:`get_paths`."
msgstr ""
#: ../../library/sysconfig.rst:290
msgid ""
"When Python runs from a virtual environment and ``key=\"prefix\"``, the "
"*venv* scheme is returned."
msgstr ""
#: ../../library/sysconfig.rst:297
msgid ""
"Return a dict containing preferred scheme names on the current platform. "
"Python implementers and redistributors may add their preferred schemes to "
"the ``_INSTALL_SCHEMES`` module-level global value, and modify this function "
"to return those scheme names, to e.g. provide different schemes for system "
"and language package managers to use, so packages installed by either do not "
"mix with those by the other."
msgstr ""
#: ../../library/sysconfig.rst:304
msgid ""
"End users should not use this function, but :func:`get_default_scheme` and :"
"func:`get_preferred_scheme` instead."
msgstr ""
#: ../../library/sysconfig.rst:312
msgid ""
"Return a tuple containing all path names currently supported in :mod:`!"
"sysconfig`."
msgstr ""
#: ../../library/sysconfig.rst:318
msgid ""
"Return an installation path corresponding to the path *name*, from the "
"install scheme named *scheme*."
msgstr ""
"*scheme* で指定されたインストールスキームから、パス *name* に従ってインストー"
"ルパスを返します。"
#: ../../library/sysconfig.rst:321
msgid ""
"*name* has to be a value from the list returned by :func:`get_path_names`."
msgstr ""
"*name* は :func:`get_path_names` が返すリストに含まれる値でなければなりませ"
"ん。"
#: ../../library/sysconfig.rst:323
msgid ""
":mod:`!sysconfig` stores installation paths corresponding to each path name, "
"for each platform, with variables to be expanded. For instance the *stdlib* "
"path for the *nt* scheme is: ``{base}/Lib``."
msgstr ""
#: ../../library/sysconfig.rst:327
msgid ""
":func:`get_path` will use the variables returned by :func:`get_config_vars` "
"to expand the path. All variables have default values for each platform so "
"one may call this function and get the default value."
msgstr ""
":func:`get_path` はパスを展開するのに :func:`get_config_vars` が返す変数を利"
"用します。すべての変数は各プラットフォームにおいてデフォルト値を持っていて、"
"この関数を呼び出したときにデフォルト値を取得する場合があります。"
#: ../../library/sysconfig.rst:331
msgid ""
"If *scheme* is provided, it must be a value from the list returned by :func:"
"`get_scheme_names`. Otherwise, the default scheme for the current platform "
"is used."
msgstr ""
"*scheme* が指定された場合、:func:`get_scheme_names` が返すリストに含まれる値"
"でなければなりません。指定されなかった場合は、現在のプラットフォームでのデ"
"フォルトスキームが利用されます。"
#: ../../library/sysconfig.rst:335
msgid ""
"If *vars* is provided, it must be a dictionary of variables that will update "
"the dictionary returned by :func:`get_config_vars`."
msgstr ""
#: ../../library/sysconfig.rst:338
msgid ""
"If *expand* is set to ``False``, the path will not be expanded using the "
"variables."
msgstr ""
"*expand* が ``False`` に設定された場合、パスは変数を使って展開されません。"
#: ../../library/sysconfig.rst:341
msgid "If *name* is not found, raise a :exc:`KeyError`."
msgstr "*name* が見つからない場合、:exc:`KeyError` を送出します。"
#: ../../library/sysconfig.rst:346
msgid ""
"Return a dictionary containing all installation paths corresponding to an "
"installation scheme. See :func:`get_path` for more information."
msgstr ""
"インストールスキームに基づいたすべてのインストールパスを格納した辞書を返しま"
"す。詳しい情報は :func:`get_path` を参照してください。"
#: ../../library/sysconfig.rst:349
msgid ""
"If *scheme* is not provided, will use the default scheme for the current "
"platform."
msgstr ""
"*scheme* が指定されない場合、現在のプラットフォームでのデフォルトスキーマが使"
"用されます。"
#: ../../library/sysconfig.rst:352
msgid ""
"If *vars* is provided, it must be a dictionary of variables that will update "
"the dictionary used to expand the paths."
msgstr ""
"*vars* を指定する場合、パスを展開するために使用される辞書を更新する値の辞書で"
"なければなりません。"
#: ../../library/sysconfig.rst:355
msgid "If *expand* is set to false, the paths will not be expanded."
msgstr "*expand* に偽を指定すると、パスは展開されません。"
#: ../../library/sysconfig.rst:357
msgid ""
"If *scheme* is not an existing scheme, :func:`get_paths` will raise a :exc:"
"`KeyError`."
msgstr ""
"*scheme* が実在するスキームでなかった場合、:func:`get_paths` は :exc:"
"`KeyError` を発生させます。"
#: ../../library/sysconfig.rst:362
msgid "Other functions"
msgstr "その他の関数"
#: ../../library/sysconfig.rst:366
msgid ""
"Return the ``MAJOR.MINOR`` Python version number as a string. Similar to "
"``'%d.%d' % sys.version_info[:2]``."
msgstr ""
"``MAJOR.MINOR`` の型の Python バージョン番号文字列を返します。``'%d.%d' % "
"sys.version_info[:2]`` に似ています。"
#: ../../library/sysconfig.rst:372
msgid "Return a string that identifies the current platform."
msgstr "現在のプラットフォームを識別するための文字列を返します。"
#: ../../library/sysconfig.rst:374
msgid ""
"This is used mainly to distinguish platform-specific build directories and "
"platform-specific built distributions. Typically includes the OS name and "
"version and the architecture (as supplied by :func:`os.uname`), although the "
"exact information included depends on the OS; e.g., on Linux, the kernel "
"version isn't particularly important."
msgstr ""
#: ../../library/sysconfig.rst:380
msgid "Examples of returned values:"
msgstr "返される値の例:"
#: ../../library/sysconfig.rst:382 ../../library/sysconfig.rst:394
msgid "linux-x86_64"
msgstr ""
#: ../../library/sysconfig.rst:383
msgid "linux-aarch64"
msgstr ""
#: ../../library/sysconfig.rst:384
msgid "solaris-2.6-sun4u"
msgstr "solaris-2.6-sun4u"
#: ../../library/sysconfig.rst:386
msgid "Windows:"
msgstr ""
#: ../../library/sysconfig.rst:388
msgid "win-amd64 (64-bit Windows on AMD64, aka x86_64, Intel64, and EM64T)"
msgstr ""
#: ../../library/sysconfig.rst:389
msgid "win-arm64 (64-bit Windows on ARM64, aka AArch64)"
msgstr ""
#: ../../library/sysconfig.rst:390
msgid "win32 (all others - specifically, sys.platform is returned)"
msgstr "win32 (その他すべて - 具体的には sys.platform が返す値)"
#: ../../library/sysconfig.rst:392
msgid "POSIX based OS:"
msgstr ""
#: ../../library/sysconfig.rst:395
msgid "macosx-15.5-arm64"
msgstr ""
#: ../../library/sysconfig.rst:396
msgid "macosx-26.0-universal2 (macOS on Apple Silicon or Intel)"
msgstr ""
#: ../../library/sysconfig.rst:397
msgid "android-24-arm64_v8a"
msgstr ""
#: ../../library/sysconfig.rst:399
msgid ""
"For other non-POSIX platforms, currently just returns :data:`sys.platform`."
msgstr ""
"その他の非 POSIX プラットフォームでは、現在のところ単に :data:`sys.platform` "
"を返します。"
#: ../../library/sysconfig.rst:404
msgid ""
"Return ``True`` if the running Python interpreter was built from source and "
"is being run from its built location, and not from a location resulting from "
"e.g. running ``make install`` or installing via a binary installer."
msgstr ""
"実行中の Python インタプリタがソースからビルドされ、かつそのビルドされた場所"
"から実行されている場合に ``True`` を返します。\n"
"``make install`` を実行した場所からの実行やバイナリインストーラによるインス"
"トールではいけません。"
#: ../../library/sysconfig.rst:411
msgid "Parse a :file:`config.h`\\-style file."
msgstr ":file:`config.h` スタイルのファイルを解析します。"
#: ../../library/sysconfig.rst:413
msgid ""
"*fp* is a file-like object pointing to the :file:`config.h`\\-like file."
msgstr ""
"*fp* は :file:`config.h` スタイルのファイルを指すファイルライクオブジェクトで"
"す。"
#: ../../library/sysconfig.rst:415
msgid ""
"A dictionary containing name/value pairs is returned. If an optional "
"dictionary is passed in as the second argument, it is used instead of a new "
"dictionary, and updated with the values read in the file."
msgstr ""
"name/value ペアを格納した辞書を返します。第二引数にオプションの辞書が渡された"
"場合、新しい辞書ではなくその辞書を利用し、ファイルから読み込んだ値で更新しま"
"す。"
#: ../../library/sysconfig.rst:422
msgid "Return the path of :file:`pyconfig.h`."
msgstr ":file:`pyconfig.h` のパスを返します。"
#: ../../library/sysconfig.rst:426
msgid "Return the path of :file:`Makefile`."
msgstr ":file:`Makefile` のパスを返します。"
#: ../../library/sysconfig.rst:432
msgid "Command-line usage"
msgstr "コマンドラインでの使用"
#: ../../library/sysconfig.rst:434
msgid "You can use :mod:`!sysconfig` as a script with Python's *-m* option:"
msgstr ""
#: ../../library/sysconfig.rst:436
msgid ""
"$ python -m sysconfig\n"
"Platform: \"macosx-10.4-i386\"\n"
"Python version: \"3.2\"\n"
"Current installation scheme: \"posix_prefix\"\n"
"\n"
"Paths:\n"
" data = \"/usr/local\"\n"
" include = \"/Users/tarek/Dev/svn.python.org/py3k/Include\"\n"
" platinclude = \".\"\n"
" platlib = \"/usr/local/lib/python3.2/site-packages\"\n"
" platstdlib = \"/usr/local/lib/python3.2\"\n"
" purelib = \"/usr/local/lib/python3.2/site-packages\"\n"
" scripts = \"/usr/local/bin\"\n"
" stdlib = \"/usr/local/lib/python3.2\"\n"
"\n"
"Variables:\n"
" AC_APPLE_UNIVERSAL_BUILD = \"0\"\n"
" AIX_GENUINE_CPLUSPLUS = \"0\"\n"
" AR = \"ar\"\n"
" ARFLAGS = \"rc\"\n"
" ..."
msgstr ""
#: ../../library/sysconfig.rst:460
msgid ""
"This call will print in the standard output the information returned by :"
"func:`get_platform`, :func:`get_python_version`, :func:`get_path` and :func:"
"`get_config_vars`."
msgstr ""
"これは、:func:`get_platform`、:func:`get_python_version`、:func:`get_path` お"
"よび :func:`get_config_vars` が返す情報を標準出力に出力します。"
#: ../../library/sysconfig.rst:11
msgid "configuration information"
msgstr "configuration information"