久久久久久久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的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

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

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

                  問題在于,從 rpm 安裝時,軟件包會轉到 /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
                  

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

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

                  相關文檔推薦

                  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(如何在不重復導入頂級名稱的情況下構造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(分發帶有已編譯動態共享庫的 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热国产在线 | 日日操日日射 | 在线观看二区 | 欧美一区二区三区视频 | 久久亚洲国产精品 | 成人免费视频国产免费 | 色婷婷免费视频 | 欧美三级欧美一级 | 日韩亚洲在线 | 视频一区中文字幕 | 中文字幕日韩视频 | 日韩欧美在线一区二区 | 黄色一级在线观看 | 97在线免费 | 神马福利视频 | 一级黄色大片 | 国产一级生活片 | 国产中文在线 | 神马久久影院 | 99精品欧美一区二区蜜桃免费 | 亚洲小视频在线观看 | 欧美黄色一区 | 国产精选av| 99精品久久久 | 黄色录像大片 | 国产乡下妇女做爰视频 | 国产一区二区三区免费播放 | 成人在线网址 | 欧美一级黄色录像 | 日韩欧美视频在线 | 国产伦精品一区二区三区视频网站 | 五月激情综合 | www.日韩精品 | a级片免费观看 | 激情高潮到大叫狂喷水 | 91视频亚洲 | 日韩一区二区三区视频 |