ghostpdl | This a mirror the canonical repo
kandi X-RAY | ghostpdl Summary
kandi X-RAY | ghostpdl Summary
This is a mirror: the canonical repo is: git.ghostscript.com/ghostpdl.git https://www.ghostscript.com
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ghostpdl
ghostpdl Key Features
ghostpdl Examples and Code Snippets
Community Discussions
Trending Discussions on ghostpdl
QUESTION
I'm writing a setup.py file to install an OpenSource project using PyPi package. The thing is, this project requires to install as well outside apps (ghostscript
, imagemagick
, and tesseract
). These apps have different ways to install depending on the platform (win, linux, or mac).
I wrote a file that when I execute python setup.py install
install all of it. The problem is when I load the tar
and whl
files on PyPi
and I execute pip install Gap-ML
it is just installing the modules but it is not installing these apps.
Here the code on setup.py:
...ANSWER
Answered 2018-Aug-17 at 21:28Because you uploaded a wheel (.whl) file to PyPI, pip install ...
will install from that wheel, and wheels do not in any way support what you're trying to do. In theory, you could get this to "work" by only uploading a .tar.gz
or .zip
file to PyPI so that pip installs from that, but this would require the user to always install your package with administrator privileges, which is a bad idea that goes against recommended practice and doesn't always work (e.g., users would be unable to install your package in a virtualenv). The proper thing to do is to not install any system packages in your setup.py
; instead, document the needed packages and how to install them in your project's README.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ghostpdl
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page