473,806 Members | 2,790 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

change default install directory when using bdist_rpm

Hi,

I'm using :
python setup.py bdist_rpm

to create an rpm package to distribute my python app on linux.

When i install the rpm, the files are installed in
/usr/share/python/site-packages/..... directory by default.

How do i change the installation directory??

Thanks,
krithika

Jul 21 '06 #1
1 3405
Hi,

try :
python setup.py bdist_rpm --dist-dir="/home/..."
I'm using :
python setup.py bdist_rpm

to create an rpm package to distribute my python app on linux.

When i install the rpm, the files are installed in
/usr/share/python/site-packages/..... directory by default.

How do i change the installation directory??

Thanks,
krithika

Jul 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
10297
by: SPG | last post by:
Hi, I am relatively new to TOMCAT, and am trying to deploy a web app using it. I have a domain name that I want to use to access my web app directly. By default, I deploy my WAR, and it deploys to webapps/myApp. To access this I have to use a url like http://mydomain.com/myApp?someparam=1 What I want to do is use this: http://mydomain.com?someparam=1
1
2767
by: Simon Peng | last post by:
I install vs.net2003 in my pc which hasn't install it before I can't change install directory, it is only installed in C:\Program Files\Microsoft Visual Studio .NET 2003 But in other pc, this directory can be changed. I am doubt about it who can tell me how to change install directory?
1
3138
by: Barry Edmund Wright | last post by:
Problem when using Xp Packaging Wizard and the database being able to find the Application Icon after database is deployed. Under Menu/Tools/Startup form I have: Application Icon: c:\vms\handshak.ico Unfortunately, when I use the Xp Packaging Wizard the default folder it uses to install the database vms.mdb is c:\program files\vms. Therefore when the database is started it can't find the handshak.ico in the directory c:\vms because it...
2
1475
by: Larry Brindise | last post by:
I have deployed an ASP.NET application successfully on Windows 2000 and 2003. When I deploy it on an XP Pro machine (fresh install with framework 1.1 and IIS installed), I get a very unexpected result. Keep in mind I install everything as "default" as it gets, IIS included. I install my project into a virtual directory, so I browse to my installed site as: http://localhost/myproject Yes, there is a file called "default.aspx" in my...
5
4533
by: funkyj | last post by:
I love pexpect because it means I may never have to use expect again (I don't do any heavy expect lifting -- I just need simple tty control)! As a python advocate I find it embarassing how difficult it is do the following in python (without pexpect): - logon to a remote system using ssh - do an 'ls' and exit the remote shell - print the output from the remote shell session.
5
2187
by: seberino | last post by:
It appears that apps distributed as Python Eggs are either a single compressed blob in site-packages directory or a directory under site-packages directory. Is this ALWAYS true? So by just erasing stuff under site-packages I can do a COMPLETE uninstallation of an Egg? Chris
1
9917
by: Aek | last post by:
What is the best way to recursively change the permissions of the directory we are installing into? Is there a nice way to do this in C# ..NET? We are using an MSI installer and will need to add some custom actions to change the permissions on the install directory and its sub folders/files so that they can be accessed correctly via a network share later on. We would want to add Everyone full access to the install directory (its
4
1534
by: Water Cooler v2 | last post by:
Is there some way I can turn the Default XML Comments off? Each time I create a new class in the project, I get those annoying default XML comments tagged to the class and its default ctor. Damn irritating. I can add XML comments later when I want. I am tired of deleting the default ones that are created by Visual Studio .NET 2003 everytime. I've searched Options but to no avail.
0
1702
by: tanyali | last post by:
anybody know how to change the default directory when install software using YaST in Linux .. I am using Linux SUSE 10.1 ... Thanks first Tanya
0
9599
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10624
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10111
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9193
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5684
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3853
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3010
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.