packaging Questions

3

Solved

I'm working on a package P with setuptools and pkg_resources, where the package, after installation, needs to download some binaries and place them in a dedicated directory (P/bin/). I'm trying to...
Vineyard asked 23/3, 2016 at 19:39

4

Is it possible to specify (editable) source dependencies in setup.py that are known to reside on the local file system? Consider the following directory structure, all of which lives in a single V...
Maddening asked 19/10, 2012 at 21:1

2

Solved

The Python Packaging Tutorial recommends that "Static metadata (setup.cfg) should be preferred. Dynamic metadata (setup.py) should be used only as an escape hatch when absolutely necessary. se...
Faustino asked 6/8, 2021 at 7:40

2

Solved

Any documentation I've found about this topic mentions that the "only" requirement to build a deb package is to have a correct setup.py (and requirements.txt). For instance in dh-virtuale...
Fouquiertinville asked 7/8, 2020 at 14:49

1

I have my exe application which i created with pyinstaller and bundled a folder while creating my exe which is working fine. In order to access any file from folder which i bundled while creating e...
Cleland asked 10/6, 2021 at 13:51

3

Solved

I created a package in PyPI named virtdc. I made some changes and uploaded 2 different versions 0.1.0 and 0.1.1. Now I deleted version 0.1.1 through the PyPI web interface and try to upload again w...
Octal asked 24/2, 2015 at 23:57

3

Solved

Looks to me like there may be a problem with the Ubuntu EC2 mirrors. After a fresh apt-get update, I'm seeting this: $ apt-get install -yq git E: Unable to locate package git After a few more ap...
Cesium asked 15/9, 2012 at 16:7

6

Solved

All of the documentation for PyInstaller talks about including individual files. Is it possible to include a directory, or should I write a function to create the include array by traversing my inc...
Rawdon asked 4/7, 2012 at 4:44

4

Solved

Now i'm working with Pyinstaller. I have an script which get images from a img folder.. /python |----/img |----|----icon1.ico |----|----icon2.ico |----maint.py My script to generate .exe is pyinst...
Literate asked 16/12, 2013 at 2:54

11

Solved

I am new to maven. I have one project which I try to build with the maven3. When I run the command mvn -X clean install I got the error. [root@localhost]# mvn -X clean install Apache Maven 3.0.4...
Creeps asked 17/10, 2012 at 4:5

6

Solved

I wrote a little module and I would like to know what are the basic steps to package it in order to upload it to PyPI: What is the file hierarchy? How should I name files? Should I use distutils t...
Ofris asked 7/9, 2010 at 11:8

4

Solved

I'm writing a library that gathers various functions that I'll be using in different applications. I want it to generate log statements visible for the user of the library, i.e., if I'm building an...
Sedan asked 16/3, 2012 at 15:59

6

Solved

I am trying to build a package in R. I made the skeleton, and ran the command R CMD check package1. I got an an error described here. I followed the solution steps, and the results are: package ...
Orvieto asked 15/1, 2013 at 8:31

2

Solved

I have a Buildr extension that I'm packaging as a gem. I have a collection of scripts that I want to add to a package. Currently, I have these scripts stored as a big text block that I'm writing to...
Xiomaraxiong asked 19/10, 2011 at 21:1

6

Solved

Is there a way to put together Python files, akin to JAR in Java? I need a way of packaging set of Python classes and functions, but unlike a standard module, I'd like it to be in one file.
Sapp asked 9/7, 2009 at 13:59

3

I have written a simple c++ program which use boost that I want to deploy on machines of same architecture with any linux flavor (for the time being) that may or may not have some boost versions in...
Wherever asked 1/10, 2014 at 13:48

16

Solved

Is there a way to force maven(2.0.9) to include all the dependencies in a single jar file? I have a project the builds into a single jar file. I want the classes from dependencies to be copied int...
Adjustment asked 13/11, 2009 at 12:51

2

Solved

The default behavior of rpmbuild seems to be to scan every file in the buildroot for #! lines and add those interpreters as hard requirements. Is it possible to disable this? I've run into a situat...
Danziger asked 16/5, 2013 at 22:1

1

Solved

I am trying to build a Python package, that contains sub-modules and sub-packages ("libraries"). I was looking everywhere for the right way to do it, but amazingly I find it very complica...
Stoichiometry asked 1/1, 2023 at 17:21

9

Solved

I am attempting to build and deploy a debug version of my Xamarin Android application to an Android emulator. However I get the following error when trying to run the app in the emulator: "C:\Prog...
Diann asked 10/9, 2014 at 14:43

3

Solved

I've seen next string after mvn clean install Including com.sun.jersey.contribs:jersey-multipart:jar:1.5 in the shaded jar Problem: I can't make it not shaded even I've added exlusion for mav...
Marquet asked 12/3, 2014 at 12:27

8

Solved

Is there a way to use an extra Python package index (ala pip --extra-index-url pypi.example.org mypackage) with setup.py so that running python setup.py install can find the packages hosted on pypi...
Somniferous asked 27/6, 2014 at 3:42

1

How can I pack and distribute a python application consisting of multiple files? My application requires a configuration file which has to filled in by the user. I guess I am looking for steps simi...
Quake asked 23/8, 2011 at 4:38

3

I'm writing a Python extension that links a C++ library and I'm using cmake to help with the build process. This means that right now, the only way I know how to bundle it, I have to first compile ...
Achernar asked 3/3, 2017 at 17:37

4

In my RAD workspace, I have an EAR project. Now I have a WAS 6.1 instance which i created from inside RAD. When I right click the WAS 6.1 instance and do 'Add Remove projects' and select the EAR, I...
Kidwell asked 23/1, 2013 at 23:20

© 2022 - 2025 — McMap. All rights reserved.