software-distribution

How to distribute a Mac OS X with dependent libraries?

混江龙づ霸主 提交于 2019-12-03 05:58:50
问题 I have a program (specifically my entry for the SO DevDays Countdown app challenge) which relies on several dynamic libraries, namely libSDL, libSDL_ttf, and others. I have these libraries installed under /opt/local/lib via MacPorts, and many people won't have these installed (and some might have them installed, but not at that location). How do I distribute my program so that people without these libraries installed can run it out-of-the-box? Obviously I'll have to distribute the various

How to make Java application standalone?

谁说我不能喝 提交于 2019-12-03 03:29:29
I have to burn a Java application on a CD. This application have to run on every Windows PC wihtout any installation (also JRE shouldn't be installed) before. Here's one way... Bundle Java (the JRE) and Launch a Java App with 7zip SFX! ... (Convert Java Apps to an Executable, sort of) I guess you could copy the JRE from your programs folder onto the CD too. Then, add a batch script to use your "local" JRE to start your app. That should be enough, but I don't know if this works with all versions of windows. You'd have to bundle jre on disk and create startup scripts. If you are not satisfied

Serial number (registration key) algorithm in .NET [closed]

你离开我真会死。 提交于 2019-12-03 00:35:01
Closed . This question needs to be more focused. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it focuses on one problem only by editing this post . There have been a few timely posts about IP security and the like, but none that I can find that specifically address an algorithm. In one of my current projects, we've decided to go the route of an offline registration key system. I imagine most of our eventual user base will be honest, so I don't think we have too much to worry about. On the other hand, I'd rather not have the casual

How to distribute a Mac OS X with dependent libraries?

不打扰是莪最后的温柔 提交于 2019-12-02 19:20:06
I have a program (specifically my entry for the SO DevDays Countdown app challenge ) which relies on several dynamic libraries, namely libSDL, libSDL_ttf, and others. I have these libraries installed under /opt/local/lib via MacPorts, and many people won't have these installed (and some might have them installed, but not at that location). How do I distribute my program so that people without these libraries installed can run it out-of-the-box? Obviously I'll have to distribute the various .dylib files, but doing this is insufficient. The dynamic loader still looks for the libraries installed

How to organize Python modules for PyPI to support 2.x and 3.x

断了今生、忘了曾经 提交于 2019-12-02 19:15:34
I have a Python module that I would like to upload to PyPI. So far, it is working for Python 2.x. It shouldn't be too hard to write a version for 3.x now. But, after following guidelines for making modules in these places: Distributing Python Modules The Hitchhiker’s Guide to Packaging it's not clear to me how to support multiple source distributions for different versions of Python, and it's not clear if/how PyPI could support it. I envisage I would have separate code for: 2.x 2.6 (maybe, as a special case to use the new buffer API) 3.x How is it possible to set up a Python module in PyPI so

How would I go about licensing a WPF windows application [closed]

我的梦境 提交于 2019-12-02 14:05:08
I have developed a small application that I would like to try and sell but I am unfamiliar with how best to go about this. How would I go about locking the program down for trial use1. How would I go about dealing with accepting payments? Bearing in mind that I am a one man band with not a lot of money, I was hoping for a solution that would be free or a low cost, effective, secure and simple to implement and maintain. This is not something that I have a lot of experience with as I have typically developed for the public sector where they buy a solution as a whoel and we have never licensed it

Is there a way to reinstall an application in SCCM 2012?

旧街凉风 提交于 2019-12-02 00:54:29
In SCCM 2007, there were several "Right Click Tools", and with their help it was possible to "reinstall" a package. In SCCM 2012 I still couldn't find a way, how could I reinstall an application? Let me explain: I created an installation package from a software, then distributed it as an "Application". Installation finished successfully. One week later a user calls, he is having trouble with this application. The package I created supports the reinstallation(either by removing the software and installing it again, or with a repair functionality). But, in SCCM I have no option(neither found a

Local collection of Python packages: best way to import them?

心已入冬 提交于 2019-12-01 22:23:31
I need to ship a collection of Python programs that use multiple packages stored in a local Library directory: the goal is to avoid having users install packages before using my programs (the packages are shipped in the Library directory). What is the best way of importing the packages contained in Library ? I tried three methods, but none of them appears perfect: is there a simpler and robust method? or is one of these methods the best one can do? In the first method, the Library folder is simply added to the library path: import sys import os sys.path.insert(0, os.path.join(os.path.dirname(_

What are the advantages of packaging your python library/application as an .egg file?

青春壹個敷衍的年華 提交于 2019-12-01 02:07:19
I've read some about .egg files and I've noticed them in my lib directory but what are the advantages/disadvantages of using then as a developer? From the Python Enterprise Application Kit community : "Eggs are to Pythons as Jars are to Java..." Python eggs are a way of bundling additional information with a Python project, that allows the project's dependencies to be checked and satisfied at runtime, as well as allowing projects to provide plugins for other projects. There are several binary formats that embody eggs, but the most common is '.egg' zipfile format, because it's a convenient one

What are the advantages of packaging your python library/application as an .egg file?

我们两清 提交于 2019-11-30 21:31:02
问题 I've read some about .egg files and I've noticed them in my lib directory but what are the advantages/disadvantages of using then as a developer? 回答1: From the Python Enterprise Application Kit community: "Eggs are to Pythons as Jars are to Java..." Python eggs are a way of bundling additional information with a Python project, that allows the project's dependencies to be checked and satisfied at runtime, as well as allowing projects to provide plugins for other projects. There are several