473,811 Members | 2,565 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installing manpage in setup.py

Hi all,

how can I tell setup() in distutils' setup.py to install manual pages
of my program? I.e. prgclient.1 to /.../man/man1 and prgdaemon.8 to
/.../man/man8? The problem is that those /.../ directories may be
different on every system, for instance /usr/share/man on OpenSUSE and
/usr/man on Solaris. Is there a way to automatically put the manpages
to their proper directories?

Thanks

PaPa
Jun 16 '07 #1
1 2096
Papalagi Pakeha wrote:
Hi all,

how can I tell setup() in distutils' setup.py to install manual pages
of my program? I.e. prgclient.1 to /.../man/man1 and prgdaemon.8 to
/.../man/man8? The problem is that those /.../ directories may be
different on every system, for instance /usr/share/man on OpenSUSE and
/usr/man on Solaris. Is there a way to automatically put the manpages
to their proper directories?
Looking at http://docs.python.org/dist/dist.html , it seams highly
unlikely that such a syntax exists IMHO. I myself would just install it
to share/man/man? since that is the path specified in the FHS [1].
setup.py being a python program, you could just as well check for the
existence or /use/share/man and /usr/man.

Thomas Jollans

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFGc8bkJpi nDvQhQ0sRAuIzAJ 9Dcr6UvRcxquQzt K2hK4TuyvlZ6wCY 5Ius
1LpMVZZG5mEw744 XRneJNA==
=dBvG
-----END PGP SIGNATURE-----

Jun 16 '07 #2

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

Similar topics

4
6460
by: Perflubron | last post by:
Hi, I'm having trouble installing MySQLdb 0.9.2 on the following Cygwin system: - Python 2.2.2 - MySQL 3.23.57 - gcc 2.95.3-10 The steps I take are: 1. Modify setup.py - Set thread_safe_library = NO
2
15233
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000 Personal disk from the SQL Server 2000 Enterprise kit as this is reported here on the MSDN web site to be the version that is supported on Windows XP. In fact so many of you kind people confess to having succeeded in doing it. I have tried...
5
2726
by: Gerald Hernandez | last post by:
One of my development PC's died, and I need to have legacy VS and VS.Net installed at the same time. On the now dead PC, I had VS6 installed prior to installing VS.Net. This worked just fine. On my working PC, I already have VS.Net installed, but not VS6. My question, will installing the older VS6 with VS.Net already installed give me problems with VS.Net. Or should I first remove the VS.Net, install VS6, then re-install VS.Net? Gerald
13
3935
by: Gary Wessle | last post by:
Hi I am trying to install NumPy in my debian/testing linux 2.6.15-1-686. with no numpy for debian/testing, I am left alone, since the experimental version available by debian will result in a dependency nightmares, so after unpacking the downloaded file "numpy-0.9.6.tar.gz"
0
939
by: C. Hughes | last post by:
Hi, I have used the standard tools in VS 2005 to compile my VB application into a setup file. After executing the setup file and installing the program, starting the program often presents an "Installing..." dialog with a progress bar first, and it seems to extract information from the original setup file before showing the application. Now, my suspicion is that the Installer doesn't like files that came with the setup program to...
14
7162
by: Nader Emami | last post by:
I have installed "TurboGears" and I would install 'pysqlite' also. I am a user on a Linux machine. If I try to install the 'pysqlite' with 'easy_install' tool I get the next error message. The error message is longer than what I send here. % easy_install pysqlite Searching for pysqlite Reading http://cheeseshop.python.org/pypi/pysqlite/ Reading http://pysqlite.org/
5
2217
by: John | last post by:
Hi I have an Outlook add-in solution which includes a setup project. If I install the Outlook add-in by right clicking on the setup project and sleeting Install then the add-in gets installed fine in Outlook. However if I use the setup generated in the setup project Release folder then even though setup runs and finishes, the Outlook Add-in does not appear in Outlook. What is the problem and how can I fix it? Thanks
3
6364
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
Hi all! I am having problems on installing .NET Framework 3.5 on some machines. In one machine the error is: '.NET Framework 3.5' RunCheck result: Install Needed Verifying file integrity of C:\DOCUME~1\Windows\CONFIG~1\Temp\VSD31.tmp\DotNetFX35\dotNetFx35setup.exe WinVerifyTrust returned 0 File trusted
4
1786
by: =?Utf-8?B?anAybXNmdA==?= | last post by:
I created a setup.exe/setup.msi installer using Visual Studio for my C# application, then copied it over to the network for others to use. It installs fine and the application works like it is supposed to. However, whenever someone then launches the app from the shortcut that I had my setup application placed on the desktop, it looks like the program is installing something before the application launches. What causes this? How can I...
0
10651
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
10393
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10405
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7671
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
6893
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5556
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
5697
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4342
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3871
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.