per page, with , order by , clip by
Results of 1 - 10 of about 18 for Setuptools (0.004 sec.)
4. C および C++ 拡張のビルド 13949
4. C および C++ 拡張のビルド CPython の C 拡張は、 初期化関数 をエクスポートする共有ライブラリです (例えば、Linux では .so ファイル、Windows では .pyd ファイル)。 詳しくは 拡張モジュールの定義 を参照してください。 4.1. setuptools による C お ... のビルド、パッケージ化および配布には、サードパーティのツールが最適であり、このドキュメントの範囲外です。適切なツールの一つは Setuptools であり、ドキュメントは https://setuptools.pypa.io/en/latest/setuptools.html にあります。 Python 3.12 より前は標準ライブラリ ... に含まれていた distutils モジュールは、現在は Setuptools の一部として保守されています。 他のマニュアルの関連ページ PHP intl.requirements PHP ffi.installation PHP install.pie PHP i ...
https://man.mtool.work/python/3.14/extending/building.html
venv --- 仮想環境の作成 12199
venv --- 仮想環境の作成 Added in version 3.3. ソースコード: Lib/venv/ venv モジュールは、軽量な「仮想環境」の作成に対応しています。 各仮想環境は、それぞれの site ディレクトリに独立した Python パッケージ群を持ちます。 仮想環境は、インストール ... た場合は、 --clear オプションや --upgrade オプションを付けない限りはエラーを送出していました。 バージョン 3.9 で変更: pip と setuptools を PyPI の最新版に更新する --upgrade-deps オプションを追加しました。 バージョン 3.12 で変更: setuptools は venv の中核とな ... この処理は、環境内の pip 実行ファイルを外部コマンドとして呼び出して行います。 Added in version 3.9. バージョン 3.12 で変更: setuptools は venv の中核となる依存パッケージではなくなりました。 post_setup ( context ) サードパーティーライブラリがオーバーライドす ... ージョン 3.13 で変更: scm_ignore_files 引数が追加されました。 EnvBuilder を拡張する例 次のスクリプトで、作成された仮想環境に setuptools と pip をインストールするサブクラスを実装して EnvBuilder を拡張する方法を示します: import os import os.path from subproces ...
https://man.mtool.work/python/3.14/library/venv.html
5. Windows 上での C および C++ 拡張モジュールのビルド 9248
5. Windows 上での C および C++ 拡張モジュールのビルド この章では Windows 向けの Python 拡張モジュールを Microsoft Visual C++ を使って作成する方法について簡単に述べ、その後に拡張モジュールのビルドがどのように動作するのかについて詳しい背景を述 ... るなら、 XY は実際には 22 になります。 5.1. 型どおりのアプローチ Unix と同様、Windows で拡張モジュールをビルドする方法には、 setuptools パッケージでビルドを制御する方法と、手動で行う方法の 2 つがあります。 ほとんどの拡張では setuptools が適しています。 setup ... tools による拡張モジュールのビルドとパッケージ化の説明は、 setuptools による C および C++ 拡張のビルド にあります。 手動で行う必要がある場合は、標準ライブラリの winsound モジュールのプロジェク ...
https://man.mtool.work/python/3.14/extending/windows.html
What's New In Python 3.12 9145
What's New In Python 3.12 編集者 : Adam Turner この記事では Python 3.11 と比較した Python 3.12 の新機能を解説します。Python 3.12 は2023年10月2日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 693 -- Python 3.12 リリ ... 行ガイド を参照してください。 Python 3.12 以降でも distutils が必要な場合は、引き続きこれを提供するサードパーティパッケージ Setuptools を利用できます。 gh-95299 : venv で作成する仮想環境に setuptools をプリインストールしなくなりました。 そのため、 distutils ... 、 setuptools 、 pkg_resources 、 easy_install はデフォルトでは利用できなくなります。 これらを使うには、 有効化した 仮想環境で pip insta ... ll setuptools を実行してください。 asynchat , asyncore , imp モジュールが、いくつかの unittest.TestCase メソッドのエイリアス と共に削除さ ...
https://man.mtool.work/python/3.14/whatsnew/3.12.html
拡張モジュールの定義 8922
拡張モジュールの定義 A C extension for CPython is a shared library (for example, a .so file on Linux, .pyd DLL on Windows), which is loadable into the Python process (for example, it is compiled with compatible compiler settings), and which ... のビルド、パッケージ化および配布には、サードパーティのツールが最適であり、このドキュメントの範囲外です。適切なツールの一つは Setuptools であり、ドキュメントは https://setuptools.pypa.io/en/latest/setuptools.html にあります。 Normally, the initialization func ...
https://man.mtool.work/python/3.14/c-api/extension-modules.html
pprint --- データの整形表示 8493
pprint --- データの整形表示 ソースコード: Lib/pprint.py pprint モジュールは、任意の Python データ構造を、インタープリタへの入力に使える形式で「整形表示」する機能を提供します。 整形するデータ構造に Python の基本的な型以外のオブジェクトが含ま ... st_day': -1, 'last_month': -1, 'last_week': -1}, 'home_page': 'https://github.com/pypa/sampleproject', 'keywords': 'sample setuptools development', 'license': 'MIT', 'maintainer': None, 'maintainer_email': None, 'name': 'sampleproject', 'package_url': 'htt ... , 'download_url': 'UNKNOWN', 'downloads': {...}, 'home_page': 'https://github.com/pypa/sampleproject', 'keywords': 'sample setuptools development', 'license': 'MIT', 'maintainer': None, 'maintainer_email': None, 'name': 'sampleproject', 'package_url': 'htt ... , 'download_url': 'UNKNOWN', 'downloads': {...}, 'home_page': 'https://github.com/pypa/sampleproject', 'keywords': 'sample setuptools development', 'license': 'MIT', 'maintainer': None, 'maintainer_email': None, 'name': 'sampleproject', 'package_url': 'htt ...
https://man.mtool.work/python/3.14/library/pprint.html
2. 拡張の型の定義: チュートリアル 8167
2. 拡張の型の定義: チュートリアル Python では、組み込みの str 型や list 型のような Python コードから操作できる新しい型を C 拡張モジュールの作者が定義できます。 全ての拡張の型のコードはあるパターンに従うのですが、書き始める前に理解しておくべ ... す!残りの作業はビルドだけです; custom.c という名前のファイルにここまでのコードを書き込み、 [ build - system ] requires = [ "setuptools" ] build - backend = "setuptools.build_meta" [ project ] name = "custom" version = "1" pyproject.toml というファイルにこれ ... を書き込み、 from setuptools import Extension , setup setup ( ext_modules = [ Extension ( "custom" , [ "custom.c" ])]) そして setup.py というファイルに ... 名と PyTypeObject 構造体の完全なクラス名を更新します。 最後に、新しいモジュールを含めるよう setup.py ファイルを更新し、 from setuptools import Extension , setup setup ( ext_modules = [ Extension ( "custom" , [ "custom.c" ]), Extension ( "custom2" , [ "custom ...
https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
Python インタプリタの拡張と埋め込み 7944
Python インタプリタの拡張と埋め込み This document describes how to write modules in C or C++ to extend the Python interpreter with new modules. Those modules can not only define new functions but also new object types and their methods. The ... . 抽象的なプロトコルのサポート 3.6. 弱参照(Weak Reference)のサポート 3.7. その他いろいろ 4. C および C++ 拡張のビルド 4.1. setuptools による C および C++ 拡張のビルド 5. Windows 上での C および C++ 拡張モジュールのビルド 5.1. 型どおりのアプローチ 5.2. Unix ...
https://man.mtool.work/python/3.14/extending/
importlib.metadata -- パッケージメタデータへのアクセス 7944
importlib.metadata -- パッケージメタデータへのアクセス Added in version 3.8. バージョン 3.10 で変更: importlib.metadata は暫定的なものではなくなりました。 ソースコード: Lib/importlib/metadata/__init__.py importlib.metadata は、インストール済 ... す。 >>> sorted ( eps . groups ) ['console_scripts', 'distutils.commands', 'distutils.setup_keywords', 'egg_info.writers', 'setuptools.installation'] EntryPoints には、特定の属性に合うエントリポイントを選ぶ select() メソッドがあります。 console_scripts グル ... では特定のグループに属するすべてのエントリポイントを解決したいと考えるでしょう。 エントリポイントとその定義、使い方の詳細は setuptools のドキュメント を読んでください。 バージョン 3.12 で変更: 「選択可能な」エントリポイントは importlib_metadata 3.6 と Pytho ...
https://man.mtool.work/python/3.14/library/importlib.metadata.html
pkgutil --- パッケージ拡張ユーティリティ 7721
pkgutil --- パッケージ拡張ユーティリティ ソースコード: Lib/pkgutil.py このモジュールはインポートシステムの、特にパッケージサポートに関するユーティリティです。 class pkgutil. ModuleInfo ( module_finder , name , ispkg ) モジュールの概要情報を ... e ( name ) 名前をオブジェクトに解決します。 この機能は標準ライブラリのさまざまな場所で使われています ( bpo-12915 を参照)。 setuptools、Django、Pyramid のような広く使われているサードパーティーのパッケージにも、同等の機能があります。 name には以下のいずれかの ...
https://man.mtool.work/python/3.14/library/pkgutil.html
PREV 1 2 NEXT