Questions tagged [packaging]

Packaging is a configuration management process involved with capturing the knowledge needed to install or uninstall software on a target system.

Packaging is a configuration management process involved with capturing the knowledge needed to install or uninstall software on a target system. This involves describing where the software and data should be installed on the target system, as well as any preprocessing or post-processing activities that need to be carried out when installing or uninstalling.

Resources:

  • RPM - The Red Hat Package Manager
  • APT - Debian's Advanced Package Tool
  • PyPI - The Python Package Index
  • Django Packages - Index of Django Packages
1933 questions
24
votes
1 answer

How to create static binary which runs on every distro?

Some linux apps like supertuxkart or regnum online have static binaries, which after downloading just work without needing to install any shared library. On every distro. How can I make such an app?
user1873947
  • 1,781
  • 3
  • 27
  • 47
23
votes
3 answers

list python package dependencies without loading them?

Say that python package A requires B, C and D; is there a way to list A → B C D without loading them ? Requires in the metadata (yolk -M A) are often incomplete, grr. One can download A.tar / A.egg, then look through A/setup.py, but some of those…
denis
  • 21,378
  • 10
  • 65
  • 88
23
votes
2 answers

Are there tools that would be suitable for maintaining a changelog for a Cabal Haskell package?

I'm working fast and furiously on a new Haskell package for compiler writers. I'm going through many minor version numbers daily, and the Haskell packaging system, Cabal, doesn't seem to offer any tools for updating version numbers or for…
Norman Ramsey
  • 198,648
  • 61
  • 360
  • 533
22
votes
6 answers

Package a django project and its dependencies for a standalone "product"

I've made a small little "application" utilizing Django as a framework. This is an application that is not maent to be deployed to a server but run locally on a machine. Thus the runserver.py works great. I, as a developer am comfortable with firing…
espenhogbakk
  • 11,508
  • 9
  • 39
  • 38
21
votes
5 answers

Install specific version of Ansible (2.3.1.0) on Ubuntu 18.04 LTS

I want to install Ansible 2.3.1.0 on Ubuntu 18.04. When I run apt-get install ansible, it installs the version 2.5.3. Below is output of apt-cache policy ansible. After that, I removed the installation. ansible: Installed: (none) Candidate:…
user9849416
  • 269
  • 1
  • 2
  • 6
21
votes
4 answers

Parse versionCode from android apk files

I know .apk files are .zip files, but AndroidManifest.xml looks binary and certainly grep or hex editors haven't been successful extracting the versionCode. Does anybody know how to parse or extract it? I find myself in a Python script with the apks…
IO-
  • 211
  • 2
  • 3
21
votes
2 answers

Packaging and Deploying Scala Applications

What is the simplest way to package a Scala application for use on a desktop PC? I'm guessing that would be in the form of a jar file. At the moment I'm using SBT to compile and run programs I'd be interested in solutions for machines that have…
Simon Morgan
  • 2,018
  • 5
  • 23
  • 36
21
votes
4 answers

Received 'can't find '__main__' module in '' with python package

I'm trying to release my first Python package in the wild and I was successful in setting it up on PyPi and able to do a pip install. When I try to run the package via the command line ($ python etlTest), I receive the following…
OpenDataAlex
  • 1,375
  • 5
  • 19
  • 39
20
votes
1 answer

documenting dataset with roxygen2

I'm trying to document some datasets in an R package using roxygen2. Considering just one of these: I have mypkg/data/CpG.human.GRCh37.RDa which contains an object called CpG.human.GRCh37 and a file called: mypkg/R/cpg-data.R, which contains: #'…
drmjc
  • 659
  • 1
  • 6
  • 10
20
votes
1 answer

Build and install local package with pip and pipenv

I want to be able, in any file of B, to do: import APackage. A and B are two different projects / packages and they are local. How to build, install, and upgrade A so that B will be able to call A modules? How to do this with pip? And with pipenv?
Izaya
  • 1,270
  • 2
  • 13
  • 31
20
votes
4 answers

Running a Clojure program

say i create a program in clojure and i have to deliver it to a client. the client does have some computer knowledge but he does not know/want to start the repl, load my program, and run it. he wants to double click an exe file or run a shell…
Belun
  • 4,151
  • 7
  • 34
  • 51
20
votes
3 answers

rpmbuild Installed (but unpackaged) files source

I'm trying to build an RPM from binaries on a REDHAT 6 system. I have all the files included in the %files section (find /path/to/fake/install -type f >> specfile) When I run rpmbuild -bb specfile --target x86_64 I get Checking for unpackaged…
Trevor
  • 1,369
  • 2
  • 13
  • 28
20
votes
6 answers

How can I make setuptools ignore subversion inventory?

When packaging a Python package with a setup.py that uses the setuptools: from setuptools import setup ... the source distribution created by: python setup.py sdist not only includes, as usual, the files specified in MANIFEST.in, but it also,…
Brandon Rhodes
  • 83,755
  • 16
  • 106
  • 147
20
votes
5 answers

Package a Node.js application as an OS X application

I want to build an interface for a series of terminal commands that our developers use to manage their development environments. I'd like to try to build it in Node.js. Now, I'm thinking I can create it as an HTML5/CSS 3/JavaScript application using…
luisgo
  • 2,385
  • 4
  • 24
  • 30
19
votes
2 answers

Shared library dependencies with distutils

I'm a newbie to distutils and I have a problem that really has me stuck. I am compiling a package that requires an extension, so I make the extension thus: a_module = Extension( "amodule", ["initmodule.cpp"], …
Mike Vella
  • 10,187
  • 14
  • 59
  • 86