<legend id='T6GAQ'><style id='T6GAQ'><dir id='T6GAQ'><q id='T6GAQ'></q></dir></style></legend>
      1. <tfoot id='T6GAQ'></tfoot>
      2. <i id='T6GAQ'><tr id='T6GAQ'><dt id='T6GAQ'><q id='T6GAQ'><span id='T6GAQ'><b id='T6GAQ'><form id='T6GAQ'><ins id='T6GAQ'></ins><ul id='T6GAQ'></ul><sub id='T6GAQ'></sub></form><legend id='T6GAQ'></legend><bdo id='T6GAQ'><pre id='T6GAQ'><center id='T6GAQ'></center></pre></bdo></b><th id='T6GAQ'></th></span></q></dt></tr></i><div id='T6GAQ'><tfoot id='T6GAQ'></tfoot><dl id='T6GAQ'><fieldset id='T6GAQ'></fieldset></dl></div>

        <small id='T6GAQ'></small><noframes id='T6GAQ'>

          <bdo id='T6GAQ'></bdo><ul id='T6GAQ'></ul>
      3. python setuptool 如何为 libxml2-dev 和 libxslt1-dev 添加依赖项?

        python setuptool how can I add dependency for libxml2-dev and libxslt1-dev?(python setuptool 如何为 libxml2-dev 和 libxslt1-dev 添加依赖项?)

          <small id='mOIMj'></small><noframes id='mOIMj'>

        1. <legend id='mOIMj'><style id='mOIMj'><dir id='mOIMj'><q id='mOIMj'></q></dir></style></legend>

            <tbody id='mOIMj'></tbody>
            <i id='mOIMj'><tr id='mOIMj'><dt id='mOIMj'><q id='mOIMj'><span id='mOIMj'><b id='mOIMj'><form id='mOIMj'><ins id='mOIMj'></ins><ul id='mOIMj'></ul><sub id='mOIMj'></sub></form><legend id='mOIMj'></legend><bdo id='mOIMj'><pre id='mOIMj'><center id='mOIMj'></center></pre></bdo></b><th id='mOIMj'></th></span></q></dt></tr></i><div id='mOIMj'><tfoot id='mOIMj'></tfoot><dl id='mOIMj'><fieldset id='mOIMj'></fieldset></dl></div>
                <tfoot id='mOIMj'></tfoot>

                • <bdo id='mOIMj'></bdo><ul id='mOIMj'></ul>
                • 本文介绍了python setuptool 如何为 libxml2-dev 和 libxslt1-dev 添加依赖项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我的应用程序需要 lxml >= 2.1,但要安装 lxml 它需要安装 libxml2-dev libxslt1-dev否则在安装 lxml 时会引发错误,

                  My application needs lxml >= 2.1, but to install lxml its requied to install libxml2-dev libxslt1-dev else it raises error while installing the lxml,

                  有没有一种方法可以使用 python 设置工具在我的 setup.py 中将其作为依赖项......

                  is there a way that using python setup tool I can give this as dependency in my setup.py....

                  推荐答案

                  不是真的... setuptools 只处理对已经属于 pypi 的包的依赖.所以如果你想要这些依赖,我认为你必须选择你喜欢的发行版带来的打包技术.

                  Not really ... setuptools only handle dependencies on package wich belongs already to pypi. So if you want these kind of dependencies, i think that you have to select the packaging technology brought by your favorite distribution.

                  但是,您可以覆盖您的 setuptools 构建或安装命令,以便在安装软件包之前进行额外检查.为此,请查看此 回答.

                  But, you can override your setuptools build or install command to make extra check before installing the package. To do so, please have a look of this answer.

                  这篇关于python setuptool 如何为 libxml2-dev 和 libxslt1-dev 添加依赖项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  env: python: No such file or directory(env: python: 没有这样的文件或目录)
                  How to evaluate environment variables into a string in Python?(如何在 Python 中将环境变量评估为字符串?)
                  Python - temporarily modify the current process#39;s environment(Python - 临时修改当前进程的环境)
                  Change current process environment#39;s LD_LIBRARY_PATH(更改当前进程环境的 LD_LIBRARY_PATH)
                  Reading and writing environment variables in Python?(在 Python 中读写环境变量?)
                  When to use sys.path.append and when modifying %PYTHONPATH% is enough(何时使用 sys.path.append 以及何时修改 %PYTHONPATH% 就足够了)

                        <tfoot id='NqAXf'></tfoot>
                          <bdo id='NqAXf'></bdo><ul id='NqAXf'></ul>

                          1. <i id='NqAXf'><tr id='NqAXf'><dt id='NqAXf'><q id='NqAXf'><span id='NqAXf'><b id='NqAXf'><form id='NqAXf'><ins id='NqAXf'></ins><ul id='NqAXf'></ul><sub id='NqAXf'></sub></form><legend id='NqAXf'></legend><bdo id='NqAXf'><pre id='NqAXf'><center id='NqAXf'></center></pre></bdo></b><th id='NqAXf'></th></span></q></dt></tr></i><div id='NqAXf'><tfoot id='NqAXf'></tfoot><dl id='NqAXf'><fieldset id='NqAXf'></fieldset></dl></div>

                            <small id='NqAXf'></small><noframes id='NqAXf'>

                            <legend id='NqAXf'><style id='NqAXf'><dir id='NqAXf'><q id='NqAXf'></q></dir></style></legend>
                              <tbody id='NqAXf'></tbody>