久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <small id='5LKVg'></small><noframes id='5LKVg'>

    • <bdo id='5LKVg'></bdo><ul id='5LKVg'></ul>
    <tfoot id='5LKVg'></tfoot>

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

        bdist_rpm 從 Ubuntu 到 CentOs

        bdist_rpm from Ubuntu to CentOs(bdist_rpm 從 Ubuntu 到 CentOs)
        <legend id='PcCLz'><style id='PcCLz'><dir id='PcCLz'><q id='PcCLz'></q></dir></style></legend>

            <bdo id='PcCLz'></bdo><ul id='PcCLz'></ul>

            1. <small id='PcCLz'></small><noframes id='PcCLz'>

                • <i id='PcCLz'><tr id='PcCLz'><dt id='PcCLz'><q id='PcCLz'><span id='PcCLz'><b id='PcCLz'><form id='PcCLz'><ins id='PcCLz'></ins><ul id='PcCLz'></ul><sub id='PcCLz'></sub></form><legend id='PcCLz'></legend><bdo id='PcCLz'><pre id='PcCLz'><center id='PcCLz'></center></pre></bdo></b><th id='PcCLz'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='PcCLz'><tfoot id='PcCLz'></tfoot><dl id='PcCLz'><fieldset id='PcCLz'></fieldset></dl></div>

                    <tbody id='PcCLz'></tbody>
                  <tfoot id='PcCLz'></tfoot>
                  本文介紹了bdist_rpm 從 Ubuntu 到 CentOs的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習吧!

                  問題描述

                  我們在 Ubuntu/Macs 上開發(fā)并將 RPM 部署到 CentOS(這是設(shè)置,不能更改太多).

                  We develop on Ubuntu/Macs and deploy RPMs to CentOS (this is the settings, can't be changed much).

                  問題在于,從 rpm 安裝時,軟件包會轉(zhuǎn)到 /usr/local/lib/python2.7/dist-packages(這是 Ubuntu 的正確位置).然而,CentOS 中的默認 python 路徑是查看 /usr/local/lib/python2.7/site-packages.

                  The problem is that when installing from the rpm, the packages go to /usr/local/lib/python2.7/dist-packages (which is the right location for Ubuntu). However the default python path in CentOS is looking at /usr/local/lib/python2.7/site-packages.

                  有沒有辦法告訴 bdist_rpm 將文件安裝到哪里?

                  Is there a way to tell bdist_rpm where to install the files to?

                  推薦答案

                  您可以使用 setup.cfg 文件來覆蓋 Python lib 安裝路徑:

                  You can use a setup.cfg file to override the Python lib install path:

                  setup.cfg:

                  [install]
                  install-lib=/usr/local/lib/python2.7/site-packages
                  

                  例子:

                  % python setup.py bdist_rpm
                  % rpm -qpl dist/foo-0.0.0-1.noarch.rpm | grep foo
                  
                  /usr/local/lib/python2.7/site-packages/foo/__init__.py
                  /usr/local/lib/python2.7/site-packages/foo/__init__.pyc
                  

                  這篇關(guān)于bdist_rpm 從 Ubuntu 到 CentOs的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  python: Two modules and classes with the same name under different packages(python:不同包下同名的兩個模塊和類)
                  Configuring Python to use additional locations for site-packages(配置 Python 以使用站點包的其他位置)
                  How to structure python packages without repeating top level name for import(如何在不重復(fù)導(dǎo)入頂級名稱的情況下構(gòu)造python包)
                  Install python packages on OpenShift(在 OpenShift 上安裝 python 包)
                  How to refresh sys.path?(如何刷新 sys.path?)
                  Distribute a Python package with a compiled dynamic shared library(分發(fā)帶有已編譯動態(tài)共享庫的 Python 包)

                  <legend id='vtpkX'><style id='vtpkX'><dir id='vtpkX'><q id='vtpkX'></q></dir></style></legend>

                      <bdo id='vtpkX'></bdo><ul id='vtpkX'></ul>

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

                          <tbody id='vtpkX'></tbody>
                        • <tfoot id='vtpkX'></tfoot>
                          1. <i id='vtpkX'><tr id='vtpkX'><dt id='vtpkX'><q id='vtpkX'><span id='vtpkX'><b id='vtpkX'><form id='vtpkX'><ins id='vtpkX'></ins><ul id='vtpkX'></ul><sub id='vtpkX'></sub></form><legend id='vtpkX'></legend><bdo id='vtpkX'><pre id='vtpkX'><center id='vtpkX'></center></pre></bdo></b><th id='vtpkX'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='vtpkX'><tfoot id='vtpkX'></tfoot><dl id='vtpkX'><fieldset id='vtpkX'></fieldset></dl></div>

                            主站蜘蛛池模板: 久久99精品久久久 | 成人小视频在线观看 | 亚洲精品www久久久久久广东 | 日韩在线欧美 | 亚洲一区导航 | 精品中文字幕一区二区三区 | 亚洲精品一区国产精品 | 欧美偷偷 | 久久草在线视频 | 亚洲情综合五月天 | 精品免费在线 | 欧美精品二区 | 精品国产一区二区三区久久 | 国产成人一区二区三区精 | 二区欧美 | 亚洲网在线 | 99国内精品久久久久久久 | 欧美一级在线观看 | 91视频.com| 九九综合 | 国外成人在线视频 | 99热都是精品 | 玖玖精品 | 人人看人人爽 | 嫩草网 | 欧美日韩在线综合 | 精品久久久久久亚洲精品 | 国产高清精品一区二区三区 | 国产一区在线免费观看视频 | 成人av网站在线观看 | 国产传媒毛片精品视频第一次 | 手机av免费在线 | 亚洲视频免费在线看 | 国产欧美日韩一区二区三区 | 福利视频日韩 | 欧美日韩综合一区 | 亚洲一区欧美一区 | 超黄视频网站 | 国产一区二区三区在线 | 一级a爱片性色毛片免费 | 国产乱码精品1区2区3区 |