該版本幾乎完全封裝了 C++++ ICU 4.6 版本,支援老的 ICU 版本。 PyICU 是一個 Python 的擴展,用來封裝 IBM 的C++國際化元件(ICU)
GitHub is more than just a place to share code. It's a place to keep tabs on your favorite developers and projects, easily contribute fixes and new features, and visualiz e what's going on inside your codebase!
Welcome to PyICU, a Python extension wrapping IBM's International
&HTTP://www.aliyun.com/zixun/aggregation/37954.html">nbsp; Components for Unicode C++ library (ICU).
PyICU is a project maintained by the Open Source Applications Foundation.
The ICU homepage is: HTTP://site.icu-project.org/
Building PyICU
--------------
Before building PyICU the ICU libraries must be built and installed. Refer
to each system's instructions for more information.
PyICU is built with distutils or setuptools:
- verify that the INCLUDES, LFLAGS, CFLAGS and LIBRARIES dictionaries in
setup.py contain correct values for your platform
- python setup.py build
- sudo python setup.py install
Running PyICU
-------------
. Mac OS X
Make sure that DYLD_LIBRARY_PATH contains paths to the directory(ies)
containing the ICU libs.
. Linux & Solaris
Make sure that LD_LIBRARY_PATH contains paths to the directory(ies)
containing the ICU libs or that you added the corresponding -rpath
argument to LFLAGS.
. Windows
Make sure that PATH contains paths to the directory(ies)
containing the ICU DLLs.