| 例文 |
setup.pyを含む例文一覧と使い方
該当件数 : 26件
python setup.py build --build-base=blib --force 例文帳に追加
python setup.py build --build-base=blib --force に対応します。 - Python
python setup.py build --compiler=cygwin 例文帳に追加
python setup.py build --compiler=cygwin のように入力します。 - Python
python setup.py bdist --help-formats 例文帳に追加
python setup.py bdist --help-formats を実行すれば分かります。 - Python
write a setup script (setup.py by convention) 例文帳に追加
setup スクリプト (setup.py という名前にするのがならわし)を書く - Python
Generally setup.py will be run from this directory. 例文帳に追加
一般的には、 setup.py はこのディレクトリ上で実行します。 - Python
if either MANIFEST.in or the setup script (setup.py)are more recent than MANIFEST, recreate MANIFEST by reading MANIFEST.in例文帳に追加
MANIFEST.in または (setup.py) がMANIFEST より新しければ、MANIFEST.in を読み込んでMANIFEST を生成します - Python
Running setup.py install builds and installs all modules in one run.例文帳に追加
setup.py install を実行すると、一度の実行で全てのモジュールをビルドしてインストールします。 - Python
installers can override anything in setup.cfg using the command-line options to setup.py例文帳に追加
インストール作業者は、setup.cfg に書かれたどんな設定もsetup.py のコマンドラインオプションで上書きできます。 - Python
installers can override some of what you put in setup.py by editing setup.cfg例文帳に追加
インストール作業者は、作者が setup.py に設定した項目のいくつかを setup.cfg を変更して上書きできます。 - Python
To create a source distribution for this module, you would create a setup script, setup.py, containing the above code, and run:例文帳に追加
このモジュールのソースコード配布物を作成するには、 上記のコードが入ったsetup スクリプト setup.py を作成して、以下のコマンド: - Python
If a particular platform requires a special library on your platform,you can add it by editing the Setup file and running python setup.py build.例文帳に追加
特定のプラットフォームにおいて、プラットフォーム上の特殊なライブラリが必要な場合、 Setup ファイルを編集してpython setup.py build を実行すればライブラリを追加できます。 - Python
Depending on the system,the module file will end up in a subdirectory build/lib.system,and may have a name like demo.so or demo.pyd.In the setup.py, all execution is performed by calling the"setup" function. 例文帳に追加
システムによってはモジュールファイルは build/lib.systemサブディレクトリに生成され、demo.so や demo.pydといった名前になることがあります。 setup.py 内では、コマンドの実行はすべて "setup" 関数を呼び出して行います。 - Python
Additionally, the distribution will contain a setup script setup.py, and a file named README.txt or possiblyjust README, which should explain that building and installing the module distribution is a simple matter of running例文帳に追加
さらに、配布物には setup スクリプト setup.py が入っています。 また、README.txt 場合によっては README という名前のファイルも入っていて、そこには、モジュール配布物の構築とインストールは簡単で、 - Python
This is a plain Python file, which, in the most simple case, could look like this:例文帳に追加
setup.py は普通の Python プログラムファイルで、ほとんどの場合以下のような見かけになっています: - Python
All that remains is to build it; put the above code in a file called noddy.c and例文帳に追加
上のコードを noddy.c というファイルに入れて、以下のものを setup.py というファイルに入れましょう。 - Python
you can provide non-standard defaults for options that are not easily set in setup.py例文帳に追加
setu.py では簡単に設定できないような、標準でないオプションのデフォルト値を設定できます。 - Python
Since distutils also supportscreation of binary packages, users don't necessarily need a compiler and distutils to install the extension.A distutils package contains a driver script, setup.py.例文帳に追加
distutils はバイナリパッケージの作成もサポートしているので、ユーザが拡張モジュールをインストールする際に、必ずしもコンパイラが必要というわけではありません。 distutils ベースのパッケージには、駆動スクリプト (driver script)となる setup.py が入っています。 - Python
Whenever possible, the Distutils try to use the configuration information made available by the Python interpreter used to run thesetup.py script.例文帳に追加
Distutils は、可能なときにはいつでも、 setup.py スクリプトを実行する Python インタプリタが提供する設定情報を使おうとします。 - Python
Obviously, for pure Python distributions, this isn't any simpler than just running python setup.py install--but for non-puredistributions, which include extensions that would need to be compiled, it can mean the difference between someone being able to use your extensions or not.例文帳に追加
) 言うまでもなく、 pure Python 配布物の場合なら、python setup.py install するのに比べて大して簡単になったとは言えません--しかし、非 pure 配布物で、コンパイルの必要な拡張モジュールを含む場合、拡張モジュールを利用できるか否かという大きな違いになりえます。 - Python
Thus,you might think you'll never use the prefix scheme, but every time you run python setup.py install without any other options, you'reusing it.Note that installing extensions to an alternate Python installation has no effect on how those extensions are built: in particular, the Python header files (Python.h and friends) installed with the Python interpreter used to run the setup script will be used in compilingextensions.例文帳に追加
というわけで、読者は prefix スキームを決して使うことはあるまいと思っているかもしれませんが、python setup.py install をオプションを何もつけずに実行していれば、常に prefix スキームを使っていることになるのです。 拡張モジュールを別のインストール済み Python にインストールしても、拡張モジュールのビルド方法による影響を受けることはありません:特に、拡張モジュールをコンパイルする際には、setup スクリプトを実行する際に使う Python インタプリタと一緒にインストールされている Python ヘッダファイル (Python.h とその仲間たち) を使います。 - Python
(That tarfile is considered ``dumb'' because it has to be unpacked in a specific location to work.)Thus, the above command on a Unix system createsDistutils-1.0.plat.tar.gz; unpacking this tarball from the right place installs the Distutils just as though you haddownloaded the source distribution and run python setup.pyinstall.例文帳に追加
(tar ファイルは、特定の場所に手作業で解凍しないと動作しないので、 ``ダム: 賢くない'' 形式とみなします。 )従って、 Unix システムで上記のコマンドを実行すると、Distutils-1.0.plat.tar.gz を作成します; この tarball を正しい場所で解凍すると、ちょうどソース配布物をダウンロードして python setup.py install を実行したのと同じように、正しい場所に Distutils がインストールされます。 - Python
Newcommands may be written to support new types of platform-specificpackaging, for example, while replacements for existing commands maybe made to modify details of how the command operates on a package.Most extensions of the distutils are made within setup.pyscripts that want to modify existing commands; many simply add a fewfile extensions that should be copied into packages in addition to.py files as a convenience.Most distutils command implementations are subclasses of the Command class from例文帳に追加
新しいコマンドはたとえば存在するコマンドを置換して、そのコマンドでパッケージをどう処理するかの細部を変更することでプラットフォーム特有のパッケージ形式をサポートするために書かれているかもしれませんほとんどのdistutilsの拡張は存在するコマンドを変更したいsetup.pyスクリプト中で行われます。 ほとんどはパッケージにコピーされるファイル拡張子を.pyの他に、いくつか追加するものです。 - Python
| 例文 |
| この対訳コーパスは独立行政法人情報通信研究機構の研究成果であり、Creative Commons Attribution-Share Alike 3.0 Unportedでライセンスされています。 |
| Copyright 2001-2004 Python Software Foundation.All rights reserved. Copyright 2000 BeOpen.com.All rights reserved. Copyright 1995-2000 Corporation for National Research Initiatives.All rights reserved. Copyright 1991-1995 Stichting Mathematisch Centrum.All rights reserved. |
|
ログイン |
Weblio会員(無料)になると
|
|
ログイン |
Weblio会員(無料)になると
|