packaging

Distributing source files with an open source app

I have written an open source (GPL) application for Linux and OSX and now wish to distribute it. Is it normal to distribute the source code along with the binaries by default, or just provide a link to where it can be obtained? If I include the source files, where is the normal location for writing them on the users system for Linux an...

Making .NET configuration environment-neutral

I want to get some thoughts on best practices around making .NET app configuration environment-neutral. Background. Some background first. I come from the Java world, not the .NET world, and in Java there are certain things that we can do to build packages that are environment-neutral. They are generally based on abstracting the configu...

How might I handle development versions of Python packages without relying on SCM?

One issue that comes up during Pinax development is dealing with development versions of external apps. I am trying to come up with a solution that doesn't involve bringing in the version control systems. Reason being I'd rather not have to install all the possible version control systems on my system (or force that upon contributors) an...

include dependencies into jar

Hi, is there a way to force maven(2.0.9) to include all the dependencies into jar file? I have a project the builds into a single jar file. I want that the classes from dependencies will be copied as well. Update: I know that I cant just include a jar file into a jar file. I'm searching for a way to unpack the jars that are specified as ...

Pack program *and* dynamically loaded files into single executable? (python + pygame, or language agnostic)

There are plenty of great answers to questions about making a standalone executable, but I can't figure out how to pack art assets (or dynamically loaded files) into it as well. Why would I want to do this? Because it would be great to distribute a simple (throw away) game that lives entirely in a single executable with no installer. ...

What's the simplest way to keep track of where my program is installed?

While I'm working on it, I have my application's location hardcoded: public static string MYPROGRAM_PATH = "/path/to/my/workspace"; Obviously this won't work once I package and distribute my application. How do I keep track of where it is installed to? I'm primarily concerned with linux packaging (specifically .deb's), but I'm planni...

How do I package my linux application using MonoDevelop?

I have a hobby project that is written in C# using MonoDevelop. I've been trying for some time now to get my head around linux packaging, but I keep coming away feeling frustrated and overwhelmed. My program consists of: A library project ("Generator") that does stuff with the data created by my program. An ui ("Interface") project us...

.deb package conffiles problem

I am distributing one of my applications using a .deb package, but have a problem relating to one of the files. The distribution includes a database file which is constantly updated by the app, on a fresh install I want the installer to copy a new, empty db file onto the users system, but on an upgrade I want the installer to leave the...

What's the best route to get your own software into Debian and Fedora?

Say I am able to follow the packaging guides and have figured out how to make a working .deb and .rpm, how can I get distros to actually include my software? What's firstly the quickest / easiest way, and secondly the most appropriate / official way? What if my software depends on other people's libraries that do not have packages? Do...

How to create installer for solaris

Hi, I have already createdrpm file for my application. It works fine for Fedora linux. also the same worked fine for linux mint. But Solaris does not support rpm. So how to create installer package for solaris OS. I have solaris 10 linux as OS. Thanks Sunil Kumar Sahoo ...

Packaging and Distribution of Java Program

I need a way to package and distribute a Java program to a remote device. Web Start is not ideal as it only distributes Jars and requires Web Server. I need to distribute and run scripts during the installation and need some other types of files. ...

How to run installed python script?

I used distutils to install my python package, with this setup.py : import distutils.core args = { 'name' : 'plugh', 'version' : '1.0', 'scripts' : [ "scripts/plugh" ], 'packages': [ "plugh" ], } d = distutils.core.setup( **args ) On linux/mac, it works as expected: % plugh hel...

Preferred method of packaging Windows Mobile apps?

Is there a preferred method of packaging Windows Mobile apps? Visual Studio creates an .exe file from the source, but the MSDN website mentions a CAB wizard. Can either work if it is just a standalone .exe? What all can activesync use to install on a mobile device? ...

How to create OSX Package that runs Mono application "natively" (Bootstrapper)

Instead of requiring my users to drop to Terminal and start my app via mono <x> command, I'd like to give them an experience of clicking on "X.app" and Mono runtime launches my .NET assemblies. Anyone done this? ...

How to package Factories in Java

Hi Guys, I was wondering how to package the factories I have in my application. Should the Factory be in the same pacakage as the classes that use it, in the same package as the objects it creates or in its own package? Thanks for yout time and feedback ...

Sharepoint 2010 Project package: Cannot add a new project output assembly to the package

When creating a Sharepoint 2010 project in VB.NET and wanting to deploy an additional referenced assembly you cannot add a new project output assembly to the package. To replicate the issue: Open Sharepoint 2010 project in Visual Studio 2010 Open "package\package.Package" Select "Advanced" In the Additional Assemblies area select "Add...

Opensource packaging software for Mysql Server with Java Desktop Application

I have a Java desktop application which uses mysql database . Is there any Open source software for packaging or executable wrapper of Mysql server and Java desktop application into one single Exe/Debian package where i need not separately install Mysql server separately . Its like one click installer which installs everything and the...

How to load modules dynamically on package import?

Given the following example layout: test/ test.py formats/ __init__.py format_a.py format_b.py What I try to archive is, that whenever I import formats, the __init__.py looks for all available modules in the formats subdir, loads them and makes them available (right now simply through a variable, supported_formats). If...

Packaging an excel addin

I have an automation addin for excel developed using C#. How do I package and distribute it ? Also when the addin is installed for the first time, I want a username and password check to pop for the first time. How can I go about doing this ? thanks ...

How to create Python egg file

I have questions about egg files in Python. I have much Python code organized by package and I'm trying to create egg files. I'm following instructions, but they are very common. According to that, it seems I need to have a setup.py file. Would you please tell me what I need to put into setup.py file and where it should reside? I sup...