Questions tagged [packaging]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

Building Debian Python Package with Poetry

I try to build a debian package from the python package python-pam. I followed mostly this gist. Because the description is based on setup.py, but python-pam is based on pyproject.toml I tried to ...
MaKaNu's user avatar
  • 758
-1 votes
0 answers
36 views

PyPi package installing source code into site-packages folder directly [closed]

Recently, after no changes to setup.py or pyproject.toml in my project, the build system has stopped recognising the code and does not raise any errors. I implemented a fix using the py_modules ...
ebots's user avatar
  • 1
0 votes
0 answers
10 views

Exclude global patterns in setuptools.packages.find is not working

I have a package Foo where I want to exclude both the test files located in folders tests and the file(s) conftest.py. My pyproject.toml configuration is: [tool.setuptools.packages.find] exclude = ['...
Mathieu's user avatar
  • 5,414
0 votes
0 answers
38 views

I have a problem in Unreal Engine 5.3.2 but i don't know what's error

i can't Package Project Note that I downloaded the SDK and put hostfxr.dll in Program Files\Epic Games\UE_5.3\Engine\Binaries\DotNET\AutomationTool enter image description here I'm so tired and I hope ...
Moath-Bahasan's user avatar
-1 votes
0 answers
22 views

Is there an easy way to add a missing dependency to an SBOM?

I'm currently trying to generate a complete Software Bill of Materials (SBOM) for a Java project. I'm using the CycloneDX generator cdxgen. With the project we package the correct Java Runtime ...
Ninijura's user avatar
0 votes
0 answers
32 views

Truly portable executables written in python in 2023

I've recently spent a lot of time figuring out how to distribute tools written in Python as standalone, self-contained executables, that will works on most of the linux distribution without special ...
Arseniy's user avatar
  • 680
0 votes
1 answer
66 views

Working with multiple Python versions **including development header files**?

I develop Python application with support for different Python versions. I use pyenv to have multiple Python versions on my system (Linux, if that matters) and to switch between them. Now I also need ...
Konstantin Shemyak's user avatar
0 votes
1 answer
16 views

How do I disable `rpmbuild` Duplicate build-ids errors?

While trying to rebuild qemu, I get these errors: Duplicate build-ids /usr/src/rpmbuild/BUILDROOT/qemu-7.2.0-6.el9.x86_64/usr/lib64/qemu/accel-qtest-aarch64.so and /usr/src/rpmbuild/BUILDROOT/qemu-...
KJ7LNW's user avatar
  • 1,517
0 votes
0 answers
5 views

Vendoring Python itself in-repos, cross-platform

The majority of our code base is in C++, we rely increasingly heavily on Python tho for our automation, CI, and pipelines. We operate a large mono-repos that is almost entirely run-from-repos - we don'...
kfsone's user avatar
  • 23.8k
0 votes
1 answer
34 views

MAUI MacCatalyst can't edit Entitlements.plists for allowing use of Near Field Communication usage

i'm using this PCSC package for reading and writing data of some NFC Tag's. When i launch my app in debug or release mod everything is working fine until i prepared my app for packaging in MacCatalyst....
Nimerya's user avatar
1 vote
0 answers
40 views

How to avoid SO and ELF file dependencies in yocto SDK?

Backtsory: I have updated the whole Yocto from Dunfell to Kirkstone, and the normal images are working as expected. We are using commonapi version 3.1.12.4 and for some reasons we cannot update it. ...
ZBT248's user avatar
  • 91
0 votes
1 answer
26 views

Strip scripts from pybuild

I need to build a debian package from a python package. The python package is not under my control so i can not easily change the setup.py file. It is using setuptools and has a very standard setup.py ...
Sir l33tname's user avatar
  • 4,096
0 votes
0 answers
7 views

Conflicting Library Dependancy with Debian Package

I am creating a debian package that includes a binary and a .so library. The binary is to be placed in /usr/bin and the library in /usr/lib. The library is a very specific build of a common library ...
WalleyM's user avatar
  • 172
0 votes
0 answers
29 views

Python packaging LegacyVersion

As denoted here https://packaging.pypa.io/en/latest/changelog.html since 22.0 there is no more LegacyVersion in the Python module packaging. With e.g. 21.3 the following was possible from packaging ...
Eric M.'s user avatar
  • 83
0 votes
0 answers
17 views

Make deb-package which updates another deb-package

I have a deb package of my Software. It has a many files and weights a lot. (Let's name this software-1.0.0.deb ~ 1Gb) I want to create a service pack deb-package which includes only several updated ...
Alex's user avatar
  • 5
2 votes
2 answers
410 views

Specify dependencies in pyproject.toml with install URL or with index-url

I like to have my package installable with pip install ... and to use the pyproject.toml standard. I can specify dependencies to install from git, with: dependencies = [ 'numpy>=1.21', '...
Mathieu's user avatar
  • 5,414
0 votes
1 answer
59 views

Auto py to exe Python Flask app only works with console in windows

I have written a Python based flask app, which sends realtime messages over local network via SSE to conected devices (using flasks integrated server capabilty). As it might be important for this ...
UGN's user avatar
  • 51
0 votes
0 answers
63 views

Why am I getting "There are no more files" error in the line "<packaging>war</packaging>" of my pom.xml?

I have a Java Spring MVC project. The pom.xml looks like below: pom.xml snapshot It is giving error at the line: <packaging>war</packaging> as below: There are no more files (org.apache....
Koustav Chakraborty's user avatar
0 votes
0 answers
89 views

Unreal Engine Packaging Error: Unknown Error

I tried to package my project in unreal engine 5 but I got an unknown error. What should I do? I tried changing the image but it still did not work. I tried changing the image but it still did not ...
richard a's user avatar
0 votes
0 answers
36 views

Distribute a python package which requires a C++ library

I have a python package which needs a C++ library to work. The library is loaded with ctypes.CDLL and used by the package internally. What are the different ways I can package and distribute this ...
Mathieu's user avatar
  • 5,414
0 votes
0 answers
188 views

What is the proper way to work with local packages using yarn in Next.js project?

I work in a Nextjs project that uses custom component library. The library is developed by the team and I make changes there as well. In order to test that changes work properly before publishing, I ...
Darya Balu's user avatar
0 votes
0 answers
7 views

How to enable Space Mouse in packaged UE game?

I've got Space Mouse Wireless functioning correctly in Editor and Play mode (UE 5.0.3 Windows 11), but when I package I lose rotation and pitch. This same behavior was happening in Editor before ...
Benjy von Cramon's user avatar
0 votes
0 answers
96 views

Installing and running own VR-Game created in Unreal Engeine 4 on the PICO 4 without using a connected computer

i am creating my own VR games in Unreal Engine 4. Now i want to play my game on the Pico 4 without using a computer so i only have to carry the Pico 4 with me. When i connect the glass to my computer ...
MaulD's user avatar
  • 1
1 vote
0 answers
36 views

Python 3 create package canonically without Internet

I am in a non-internet connected (air gapped) environment. I have access to the python:latest docker image: root@dd8e38ac55dd:/# python -V Python 3.11.4 root@dd8e38ac55dd:/# pip list Package ...
t0w0i7ne's user avatar
1 vote
2 answers
899 views

Unreal Engine 5.2 Android package failed: android-32 30.0.3 3.10.2.4988404 25.1.8937393 -noninteractive failed

I'm having trouble with packaging my project for Android.As soon as I start packaging an error occurs and it can't continue. The error is this: PackagingResults: Error: Command E:\Program Files\Epic ...
KotaroFuma's user avatar
-1 votes
1 answer
50 views

How to package a .jar file using a java program

How does one package a jar file using java code? I want a .jar file to be created with custom code whenever (for example) a button is pressed, how would I do this? There doesn't seem to be any ...
MrClaps's user avatar
0 votes
0 answers
30 views

MAVEN: I want to copy-dependencies for all child modules to a single lib folder, but i don't want the jars built for each child-module to be included

I'm copying all dependencies in a top level lib directory from all child-modules, I use <outputDirectory>${env.PWD}/lib</outputDirectory> to achieve this (as it's always triggered form ...
Vijay Jangir's user avatar
0 votes
0 answers
53 views

cmake - cpack get different packages versions

I have project that contains subprojects. The package directory contains CMakeLists.txt. Looks like this: set(CPACK_GENERATOR "DEB") set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT) set(...
a.wise's user avatar
  • 174
0 votes
1 answer
18 views

Python packaging - how to make sub-modules importable from higher-level module?

The following works in my python package: import Top.Lower However, the following does not work: import Top print(Top.Lower) I'm using packages = find: in my setup.cfg as well as: [options....
Sam Lerman's user avatar
0 votes
2 answers
90 views

Does Hackage has binary package cache?

I could not find anything related. And this is strange to me, because it seems like it builds packages for Haddock generation.
uhbif19's user avatar
  • 3,169
0 votes
0 answers
79 views

ModuleNotFoundError in Python again

apparantly I simply just don't get packaging in Python, ModuleNotFoundErrors are my bane. I recently published a small package on pypi: rdfdf. from rdfdf import DFGraphConverter gives me the dreaded ...
lupl's user avatar
  • 769
0 votes
0 answers
12 views

System dependencies as part of a CLI (brew, apt)

I'd like to release a CLI. However, some of the Python dependencies for the CLI require system dependencies. Namely, the python package soundfile requires the shared object library libsndfile. I'd ...
Andre's user avatar
  • 540
2 votes
0 answers
90 views

error while packaging electron app using electron-forge that contain sqlite / better-sqlite module

i'm trying to packaging my app using electron-forge. when i'm running the npm run make command the error occure like this, but i have no idea how to solve this problem. anyway, if necessary, here's my ...
fey_23's user avatar
  • 31
0 votes
0 answers
95 views

beryx runtime plugin fails at 'jre' task for JavaFX project: module javafx.base not found despite modules declared in 'javafx' block

I'm attempting to update a JavaFX app after quite a number of years and am stuck at trying to package it for distribution. The app runs just fine from an Eclipse launch config, but using Gradle and ...
pfurbacher's user avatar
  • 1,809
0 votes
0 answers
149 views

Unreal Engine 5 SDK not setup packaging error

So, i tried packaging my first game in unreal engine, and it wont work. I wanted to package it for windows, and this error message comes: error message i tried everything, copied hostfxr.dll, ...
backslash's user avatar
0 votes
1 answer
60 views

How do I specify the `nodoc` debian build profile (or any other build profile) to pbuilder-dist?

I am trying to create a new set of Qt packages for an older version of Ubuntu (Focal Fossa). I am using a newer release of Ubuntu than the one I am creating packages for, so I am using pbuilder-dist ...
Keithel's user avatar
  • 263
0 votes
0 answers
323 views

How can I package NextJS app into an installable desktop app using Electron and electron-builder?

I'm trying to create desktop installable files for macOS, Linux & Windows. I already have a webapp built in NextJS & want to convert that app in desktop apps using electron & electron-...
Awais Ahmad's user avatar
0 votes
0 answers
33 views

Package with subpackage; How to do local (editable) pip-install?

I apparently can't wrap my head around packaging in Python so I have to pester someone with my incompetence. I have the following directory structure: package/main.py package/helpers/helper1.py ...
lupl's user avatar
  • 769
0 votes
1 answer
121 views

What is the purpose of a staging directory while package installation and creation?

What is the purpose of a staging directory while package installation and creation ? What is the application of the staging directory when cross compiling and in non cross compiling situations? This ...
Self's user avatar
  • 125
0 votes
0 answers
24 views

Flatpak fails to generate .flatpakref

I am trying to package my flatpak package into a .flatpakref for uploading into flathub. Here's my xml: <?xml version="1.0" encoding="UTF-8"?> <component type="...
SStoklosa23's user avatar
-1 votes
1 answer
41 views

Trouble with PyInstaller packaging specific files

PyInstaller not detecting --add-data directory commands Hello everyone, I have a question regarding PyInstaller and the apparent ninth circle of hell I've opened trying to package a PyQT5 application ...
mabdali's user avatar
0 votes
0 answers
53 views

GCP Cloud Build Python Package

In Google's documentation for cloud build Python packaging, it says create a file named requirements.txt with the following dependencies I'd really rather use the newer pyproject.toml, and ideally I'...
Mike Williamson's user avatar
1 vote
1 answer
80 views

What IDE subprojects (=Maven <modules>) dispatching for an hexagonal project? How many jars will be in the final executable jar? Ten, tens, hundreds?

Before starting to move to an hexagonal architecture, my application (roughly) had these jars, gathering into a bigger executable. (to be more precise, for a comment below: concretely each of my Maven ...
Marc Le Bihan's user avatar
0 votes
1 answer
98 views

Packaging a springboot application with a binary file which is inside tar after building

Hi Every one i'm new to the springboot and i'm making the application via this link https://dzone.com/articles/packaging-springboot-application-with-external-dep here i maked that application but ...
Rahul Gangawar's user avatar
0 votes
1 answer
69 views

Need help in creating a CLI app with poetry

i've created a cli app in python using typer but instead of calling py main.py i want to call the program by using the command starfish. In past i've created and published cli apps using poetry ...
777winters's user avatar
0 votes
1 answer
85 views

How to packaging specific directory in scala?

Now I have scala project directory like below: my-project ᄂsrc/main/scala ᄂ com.foo.bar ├ foo1 │ ᄂ (...classes) ᄂ foo2 Then I want to package to jar file just 'com.foo.bar....
coder mate's user avatar
0 votes
1 answer
63 views

How can I obtain CPack's default/fallback install prefix?

I am using CMake to build my project and now I want to use CPack to create Linux packages (starting with a DEB package). I have things set up such that I can generated a DEB package now, but there is ...
Raven's user avatar
  • 3,093
0 votes
1 answer
385 views

How exactly does `dnf install 'pkgconfig(NAME)'` syntax work?

Fedora Packaging Guidelines (permalink) officially recommends using the pkgconfig(NAME) syntax when declaring build dependencies. So for example, instead of BuildRequires: libxcb-devel, you would ...
cyqsimon's user avatar
  • 2,859
0 votes
0 answers
46 views

Handle specific exception from a python package, which is not directly imported

I have developed a python package Child, which is used by another python package Main. Python Package Child uses and imports the default mysql connector. import mysql.connector as sql # pip install ...
michaelgr22's user avatar
1 vote
1 answer
296 views

importlib.metadata doesn't appear to handle the authors field from a pyproject.toml file correctly

I'm having a problem retrieving the author metadata information of a package through importlib.metadata. My package setup is as follows: I'm using Python's setuptools with a minimal setup.py and some ...
9769953's user avatar
  • 10.6k

1
2 3 4 5
39