Saturday, 15 May 2010

rpm - Building distribution packages of python application -


Please, help about the proper way to build a distribution package of Python application. First of all I am interesting about the RHEL systems (6/7). By default Python has been installed in version 2.6 and 2.7 / usr / lib. The problem is that I use Ubuntu for build package where the path of Python Python, installed in / usr / local / lib, is used for building, it is difficult in the package. I did not get any form to change it. I tried bdist_rpm, fpm, rpmbuild. The prefix tag in the SPEC file is not working Whether to build packages for RHEL on the RHEL system? Is there any solution for creating platforms for different platforms, Python versions, architecture on a machine?

setup.py is here:

  setuptools cecsagent Import global setup (from find_packages, setup import name = globals.APP_NAME, version = globals.APP_VERSION, description = " CEC agent ", author =" ... ", author_email =" ... ", package = find_packages (to exit = [" .. * Web * "," test "]), package_data = {" ": [" * .xml "," * .template "]}, scripts = [" CEC-agent "], install_requires = globals.REQUIRED_LIBS)  


No comments:

Post a Comment