wiki:OSGeo4W_jp/pkg-python

Version 3 (modified by harumi, 14 years ago) ( diff )

--

python pythron コマンドラインインタープレターとライブラリー ・インタープレターはosgeo4w shellでpythonとして、起動されます。 ・Python interpreterはshell中のthe .py extensionとは関連していません。よってpy file を直接起動できます。 ・documentationは含まれていません。(builtin doc stringsを超えて) ・Tcl サポートを含みません。 ・NumPyは、パッケージのサイズによる明らかな追加です。 ・

パッケージの注意

  • このパッケージは、python.orgからのスタンダードPython 2.5.2 .msiインストーラ-から収集されます。
  • 新しいPython extensionsはosgeo4w\apps\Python25\Lib\site-packages中で、解凍されます。
  • インクルードファイルやライブラリは含まれます。ですが、the apps\Python25 treeの中です。 The distutils/sysconfig.py settings は正しくなければないません。
  • 拡張子互換されている VC7.1とともに、コンパイルされている必要があります。
  • etc\ini\python.batはsys.prefix and finding of libraries, などをコントロールするためにPYTHONHOMEをセットしています。これは、OSGeo4W shellの中でpythonが活動をしているシステム上のどんなほかのpythonにも取って代わるべきです。

Python =

  • Python commandline interpreter, and libraries.
  • The interpreter can be invoked as python in the osgeo4w shell.
  • The Python interpreter is not associated with the .py extension in the shell, so you can run .py files directly.
  • Documentation is not included (beyond builtin doc strings)
  • Tcl support is not included.
  • NumPy is a distinct add on package due to it's size.

Packager Notes

  • This package is harvested from the standard Python 2.5.2 .msi installer from python.org.
  • New Python extensions should be unpacked in osgeo4w\apps\Python25\Lib\site-packages
  • Include files and libraries are included, but in the apps\Python25 tree. The distutils/sysconfig.py settings should be correct.
  • Extensions may need to be compiled with VC7.1 to be compatible.
  • etc\ini\python.bat set PYTHONHOME to control sys.prefix and finding of libraries, etc. This should supercede any other python on the system when python is run within the OSGeo4W shell.

http://trac.osgeo.org/osgeo4w/ticket/24

戻る

Note: See TracWiki for help on using the wiki.