473,761 Members | 10,280 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Distributing Python Apps on Linux\BSD

Working on a rather large open source python application that I want
to release for Linux and BSD and was wondering what methods others are
using to distribute large and complex applications.

Setuptools and friends seem to be focused on distributing modules, I'm
at the other end of the scale where I want to distribute an entire
application so that an Administrator can run a single install and have
a fully operational product. A key requirement is that I want the
application to fit in with what and admin would expect an application
to look like at the system level i.e site-packages like structures
aren't suitable.

So far I've thought of using a configure script and make which would
call some custom python installer script to do the actual install. It
fits in nicely with what I want to achieve but are there any better
options out there, how are others doing the same thing?
Mar 21 '08 #1
1 1414
Hello,

Disclaimer: I'm not an expert on the subject.
Setuptools and friends seem to be focused on distributing modules, I'm
at the other end of the scale where I want to distribute an entire
application so that an Administrator can run a single install and have
a fully operational product. A key requirement is that I want the
application to fit in with what and admin would expect an application
to look like at the system level i.e site-packages like structures
aren't suitable.
You do that with distutils as well.
So far I've thought of using a configure script and make which would
call some custom python installer script to do the actual install. It
fits in nicely with what I want to achieve but are there any better
options out there, how are others doing the same thing?
Every distro flavor has it's own installer: apt/deb, rpm, port, ...
On Windows you can use one of the free installer (InnoSetup and
friends).

HTH,
--
Miki <mi*********@gm ail.com>
http://pythonwise.blogspot.com

Mar 21 '08 #2

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

Similar topics

2
2055
by: Alexander Eisenhuth | last post by:
Hallo alltogether, under windows, the py2exe is first choice, but has anybody done it under Linux ? My first try with Installer http://www.mcmillan-inc.com/install5_intro.html was not sucessfull. Any hints or help is welcome. Alexander
14
1881
by: Phillip Mills | last post by:
I've learned enough of the Python language to be mildly dangerous and have used it in a few personal projects. All my development of commercial (or production) products over the past dozen years have been done with C++ or Java. For a program I'm planning -- to begin during the summer -- having an interpreter as part of the application would be very desirable to allow sophisticated users to provide their own extensions. Java would be...
6
1828
by: Jason | last post by:
A non-python programming friend of mine has said that any programs made with Python must be distributed with, or an alternative link, to the source of the program. Is this true?
2
2669
by: RickMuller | last post by:
I really appreciate the ease that the distutils make distributing Python modules. However, I have a question about using them to distribute non-Python (i.e. text) data files that support Python modules. Currently when I have data of this type, I parse it into python objects and make a python module from it. In other words, given a data file like % cat grocery_list.txt eggs spam
2
1411
by: Krish | last post by:
hi all, i'm wondering if there are any best practices for distributing apps which require the .net framework to run. i've read about using the .net bootstrapper which will install the .net framework as a step in the regular apps' installation if the user doesn't have the framework. however, when i include the dotnetfx redistributable the size of the download is about 23mb as opposed to 300k for my app.
11
4021
by: Tina I | last post by:
Hi list, Is there a preferred way to distribute programs that depends on third party modules like PyQt, Beautifulsoup etc? I have used setuptools and just having the setup script check for the existence of the required modules. If they're not found I have it exit with a message that it need this or that installed. But this is not very convenient for the end user and I have got a few complaints about it. Am I missing something in...
4
1361
by: Robert Dailey | last post by:
Hi, I'm creating a set of command-line tools using Python. These tools manage resources for a game I'm working on. However, many people that will be using these tools will not want to install Python on their machines. This would be a very tedious process (for first time users of my tools). Ideally, I would like for someone to be able to use my tools without having to install Python. For example, if I could put python.exe in a
9
1510
by: eliben | last post by:
Hello, I'm getting into Python now after years of Perl, and as part of my research I must understand how to do some common tasks I need. I have a bunch of Windows PCs at work to which I want to distribute an application I've developed on my PC. All these PCs have Python 2.5 installed. If my application contains only code I've developed, I simply zip its
5
2609
by: Joe Strout | last post by:
We have a client who's paranoid about distributing the Python source to his commercial app. Is there some way I can distribute and use just the .pyc files, so as to not give away the source? Thanks, - Joe
0
9531
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10115
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
9957
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...
0
8780
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
7332
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
6609
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
5229
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...
3
3456
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2752
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.