基本的python绑定
python-elementar的Python项目详细描述
基本的python绑定
要求
- Elementary >= 1.7.0
- Evas >= 1.7.0 (indirect, Elementary dependency)
- Ecore >= 1.7.0 (indirect, Elementary dependency)
- Python-Evas >= 1.7.0
- Cython >= 0.16 (not required with release tarballs)
- Python >= 2.7 (tested version, may work with older or newer)
建造和安装
此软件包使用automake,因此执行:
生成:
./configure --prefix=/usr make all
安装:
make install
如果您希望在其他位置安装,请确保 将您的pythonpath配置为能够访问此位置!
如果您的cython依赖项安装在 位置和希望cython找到它们,请指定cythonflags 变量到./configure。
依赖项的发现是通过pkg config完成的,因此 必须使用此类工具正确访问包。确保 pkg_config_path和pkg_config_libdir(交叉编译)已配置!
交叉编译时,如果目标的python头与 主机的头,指定python_includes变量包含 python.h的正确版本的目录!