I have a Python Package that requires another package to be installed. That package can be downloaded from someone else's github page. I need to turn my package into a .deb file. I am currently doing this using stdeb. Is it possible to make it so when my deb file is installing, it will also download the files from the git and do a "pip install ." on their setup.py?
Debian package install Dependency from Git?
247 Views Asked by Alexgaby At
1
There are 1 best solutions below
Related Questions in PYTHON
- new thread blocks main thread
- Extracting viewCount & SubscriberCount from YouTube API V3 for a given channel, where channelID does not equal userID
- Display images on Django Template Site
- Difference between list() and dict() with generators
- How can I serialize a numpy array while preserving matrix dimensions?
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Why is my program adding int as string (4+7 = 47)?
- store numpy array in mysql
- how to omit the less frequent words from a dictionary in python?
- Update a text file with ( new words+ \n ) after the words is appended into a list
- python how to write list of lists to file
- Removing URL features from tokens in NLTK
- Optimizing for Social Leaderboards
- Python : Get size of string in bytes
- What is the code of the sorted function?
Related Questions in GIT
- Push mysql database script to server using git
- Git show's file path
- Git > diffs filtered, show only certain changed classes/files
- Pushing to git repository hosted by Visual studio online without entering user name and password
- How do I create my own Git branch to work on?
- Git init --bare giving error fatal: Out of memory? mmap failed: No such device
- Sub-directory into independent repository and later merge back into main repository
- How to find the Git Revision Hash in a synced SVN repo using SubGit?
- eclipse errors when try to change to master git branch
- How to have Heroku build my development branch on a staging server?
- Is "Merged in" a commit message created by bitbucket, or git?
- Git: Multiple projects under one directory
- Permission denied hg-git
- Is it possible to clone a private git repo without adding ssh keys
- Track file in master repository which is ignored in submodule
Related Questions in DEBIAN
- Python Requests just got very slow, better alternative?
- Getting X Cursor in WebKit GTK2+ widget if run by startx
- How to increase PHP memory_limit in Debian Jessie?
- Unable to install RabbitMQ using puppet due to curl error
- phpinfo() uses old version. What am I missing after "make install"?
- How to make home directory the root with useradd on Debian
- Is Google using Debian and Apache?
- scanbd doesn't work unless I restart it from the command line
- debconf selections for phpmyadmin unattended installation with no webserver installed and no dbconfig-common
- How to run TeamSpeak3 server on boot?
- Install Subversion 1.7 on Debian jessie
- apache proxy doesn't work
- module.js 340 error Cannot find module 'bonescript'
- Rails, Sidekiq and systemd are on a debian 8 ship
- Custon headers not working on php 5.6 - apache 2.4, debian 8 jessie
Related Questions in PACKAGING
- How to create my own android library and host it
- Packing an entire Python application as a PEX file
- Can not build war from grails project
- Packaging Unreal Build Configurations
- How to package a Python module
- Copy directory on destination machine during .deb installation in Ubuntu 14.04, 64 bit
- I want to create a .deb package for our software
- Debian package naming policy for soname
- What is the best practice for packaging Lua script files to be called from C. Using CMake
- How can i run my exe Java application on both 32-bit and 64-bit systems?
- apt-mirror not syncing folders
- Compiling and distributing Cython extensions
- duplicate files during packaging of APK
- Nodewebkit app takes time to load in windows
- java.lang.NoClassDefFoundError when marking a jar as provided
Related Questions in DEBIAN-PACKAGING
- How to add extra steps in the package build process to debian/rules, and should I?
- Distribution Python package to Debian package with installing additional things
- Building a 64bit Debian package on 32bit Ubuntu
- Apt-get commands from within a deb postinst
- How can I Debian-package a python application with a systemd unit using stdeb3/py2dsc and dpkg-buildpackage?
- How to install Docker with another Debian package?
- Debian include-binaries format
- Create changelogs for reprepro debian repository
- Conflicting Library Dependancy with Debian Package
- Package owner not correctly applied for Debian package created through fpm
- Can you configure CMake to automatically install apt deb dependencies?
- Debian package install Dependency from Git?
- Is it safe to create python virtualenv to /usr/share/?
- Debian package files are removed when reinstall them
- Aerospike debian compatibility metrics
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Debian packages are supposed to be self contained. You don't know that when the package is installed that the remote Git server will exist and that it will contain the contents that you want (e.g., they could have been deleted or replaced with malicious contents). You don't even necessarily know that you'll have a network connection at that time.
Even if, in your environment, you do know that, Debian packages don't expect that, so the files you download via Git and generate by using
pipwon't be removed by your package, leaving cruft on the user's system. That means that future package installs might break due to this leftover cruft, leading to hard-to-debug errors.It is possible to do by using a
postinstscript, but definitely not a good idea. You'll want to package your dependency in another Debian package or use the existing package from the developer's page instead.