Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9207379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:22:28+00:00 2026-06-18T00:22:28+00:00

I installed a minimal version of CentOS 6.3 on a virtual machine. I then

  • 0

I installed a minimal version of CentOS 6.3 on a virtual machine. I then used
yum install python to install python-2.6.6-29.e16_3.3.x86_64 to /usr/bin/. I have a custom python script that I wrote and I want to create an RPM of it including all python dependencies so that a centOS user can use rpm command to install my python script and all needed python libraries. Is this a common practice? It seems like the below command is the recommend approach, but I don’t have a setup.py file. Any ideas?

python setup.py bdist_rpm
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T00:22:29+00:00Added an answer on June 18, 2026 at 12:22 am

    Are you sure you need RMP file to be used for installation? After querying for RMP in Google Search, it gave me RMP is a “RealPlayer Metadata Package File”. Which I am sure you are not looking for. However based on your other statements I can make out you are trying to create a rpm file which you want to distribute with all the dependencies, And for that you are using the command python setup.py bdist_rpm, This is usually the correct approach but the per-requisite is you need to create the setup.py. Refer to this link http://docs.python.org/release/2.0/dist/setup-script.html

    Which talks about how to create your own setup.py file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I installed a minimal version of cygwin, but i now need to install the
Installed rubyinstaller-1.8.7-p358.exe, then tried to install jammit , but the config.gem command isn't being
CentOS 6.3 Minimal Configuration. Installed SSH Server, port 22. All works correctly. I change
I installed PagedList and PagedList.Mvc packages via NuGet . Then I used it in
I installed Cygwin, choosing a fairly minimal set of packages. In a terminal, I
I installed Python 3.x (besides Python 2.x on Ubuntu) and slowly started to pair
On my Linux platform, I have several versions of gcc . Under usr/bin I
Various software installations on my laptop each require their own particular version of Python.
I've recently done a fresh install of Ubuntu 11.10, installing the latest version of
Assuming the minimal module install (to keep things simple), what are the core responsibilities

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.