3

我正在尝试安装ReportLab,但没有可用于编译 rl_accel 库的 C 编译器。使用 setup.py,我会添加一个额外的参数,如下所示:

python setup.py --rl_accel=no install

是否可以向 easy_install 添加额外的参数以便我可以重现相同的效果?

easy_install reportlab [something here?]
4

1 回答 1

5

不使用命令,但可以编写配置文件:

http://packages.python.org/distribute/easy_install.html#controlling-build-options

于 2011-06-04T18:35:42.693 回答