distribution

Scale numbers to be <= 255?

I have cells for whom the numeric value can be anything between 0 and Integer.MAX_VALUE. I would like to color code these cells correspondingly. If the value = 0, then r = 0. If the value is Integer.MAX_VALUE, then r = 255. But what about the values in between? I'm thinking I need a function whose limit as x => Integer.MAX_VALUE is 25...

How can I distribute python programs?

My application looks like this: main.py windows/ __init__.py mainwindow.py ... model/ __init__.py orders.py ... resources/ image1.png logo.jpg ... The program is started with main.py. Is there a good way to create a 'final' application out of it? I'm thinking of something like py2exe/py2app, but wi...

Deploying an assembly to a FTP server using Maven 2

I have a project divided into several sub-modules (each of them are jar libraries): myapp myapp-commons myapp-client myapp-server I've configured my pom.xml in order to create 3 assemblies (client.zip, oracle.tar.gz and server.tar.gz) that are finally stored in the myapp/target directory. I want now is to distribute two of...

How do you distribute the IDE and it's configuration within your Team?

I'm wondering how Software Development Team distribute their Standard IDE(s)? E.g. developing with Eclipse, custom Code formatter, svn Resository, Copyright Header.. At the moment my Team has a standard zip File which is then distributed withhin the developers. Problem: If one file, a Plugin or the IDE itself changes, e.g. new Coding...

iPhone Application Enterprise Distribution Process

I have a client that wises to distribute their iphone application to only their employees and not on the iTunes App Store. To me this sounds like a situation for Enterprise Distribution. Could someone explain to me in as much detail as possible this process. I know we will need to enroll as an Enterprise Distribution Member before a...

choose Linux distribution for Haskell development

Which Linux version is the most comfortable for haskell development? I want to install ghc and compile Leksah in it. I'm using CentOS now but it's repository is not rich and fresh enough. ...

creating distributions in mathematica

I have a function which I know to be a multivariate distribution in (x,y), and mathematica is having numerical stability issues when I form the marginal distributions. For example, marginalizing along y yields the following: 0.e^(154.88-0.5x^2) Since I know the result must be a distribution, I would like to extract just the e^(-.5x^2) ...

when to use an alternative Python distribution?

Hello, I have been programming in Python for a few years now and have always used CPython without thinking about it. The books and documentation I have read always refer to CPython too. When does it make sense to use an alternative distribution (PyPy, Stackless, etc)? Thanks! ...

What's wrong with this `setup.py`?

I've been having problems withe getting setup.py to do the sdist thing correctly. I boiled it down to this. I have the following directory structure: my_package\ my_subpackage\ __init__.py deep_module.py __init__.py module.py setup.py And here's what I have in setup.py: #!/usr/bin/env python from dist...

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...

R: How do I approximate distributions of AICs with simulated data?

I have likelihood functions LFi,i=1,2 with parameters [lambda,p] and [lambda]: LF1<-lambda^sp^(n-n0)(1-p)^n0/((1-1/exp(lambda))^(n-n0)(exp(lambda))^(n-n0)); LF2<-lambda^s/(exp(lambda))^n where s is the sum of observed counts, n is the number of observations, and n0 is the number of observed zeros. As usual, maximised log(LFi)s and AI...

iphone app submission with other developers binary

Hey All. I am making an app that needs to be released by the client. Am I able to build and sign the final binary with my distribution certificate and send it to the client to upload? Or will I have to send them the source to compile with there own certificate? Cheers ...

Do I need to re-deploy to existing iPhone devices if the mobileprovision file is changed?

I have an ad-hoc provision profile for my iPhone application and I have installed them on several devices. If I need to add a new device, I will need to re-compile the application with the new mobileprovision file so that it can be distributed to the new device. But what about those existing devices? Do I need to re-deploy the re-compile...

Uploading to the cheeseshop different versions of a package for different versions of Python

I have an open-source Python project (called GarlicSim), and I maintain 4 different versions of it for Python versions 2.4, 2.5, 2.6 and 3.1. Yes, maybe it's unusual, but I like using as much features as possible. I keep them in 4 different forks of the repository. Now I want to upload my project to the cheeseshop. What's the way to do ...

will my iphone app get knocked back for distribution if it is designed for 3Gs

i have an app that runs like a dream on a 3gs, but can be a bit glitchy on the ipod touch, anyone have any similiar experiences, with distribution? The app still works, on the ipod touch (which is a year old, forgotten which gen), but just not as well. ...

How can I make Module::Build install both X and X::Y?

If I have a distribution with X and X::Y also in it, how do I make Module::Build install both the modules? I have put X.pm in lib, written a file Build.PL with the line my $build = Module::Build->new ( module_name => "X", ); This installs X OK, but how do I tell Module::Build to also include X::Y in the distribution? ...

How to distribute native perl scripts without custom module overhead?

How can someone distribute native (non-"compiled/perl2exe/...") Perl scripts without forcing users to be aware of the custom (non-CPAN) modules that the scripts needs in order to run? The problem is users will inevitably copy the script somewhere else on the system and take the script out of its native environment and then it can no lon...

`pkg_resources.require()` doesn't see wxPython

I'm using Distribute's pkg_resources.require() in my project to check if prerequisites are installed on the user's machine. One of the prerequisites is wxPython. But when I try pkg_resources.require('wxPython'), I'm getting the DistributionNotFound error, even though it's definitely installed and operable on my machine. I also tried the...

How do I get started writing a module for CPAN?

Right now, I have my own homegrown testing harness/directory structure/support doc strucure/distribution tools for my libraries. However, reading the blog post Write your code like it's going on CPAN, it sounded like a good idea. Then it occurred to me, I'm really not sure how to do that. What are some good resources to get started ma...

Including package data with Distribute

I'm trying to use Distribute for my project's setup.py. I want it to include all the files in the package folder, which are text and image files, but not .pyc files of course. I read that the files should either be tracked by CVS and SVN, or there should be a MAINFEST.in. So: I use neither CVS nor SVN, I use git. I know that it's poss...