question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrapping Previously Installed Libraries by a Conda Package

See original GitHub issue

Discussion Topic: Package type between CDT and Conventional

How do I develop a package which wraps a library not installed by conda? An example of such libraries would be those whose distribution is limited or restricted. e.g.

Context: We write open-source plugins for various proprietary software (mostly modeling tools (UML, SysML, etc.)). While developing (testing) these tools we need to cycle through all the versions of those tools and their libraries. The binaries for these libraries are not freely distributed; the access to these libraries is not a simple download from a url. I can make conda-forge packages for these libraries but the source: url: is problematic.

Case Study: An example is the oracle-jdk; the PR for oracle-jdk package. It illustrates the point, the contributor eventually abandoned it. There is another oracle jdk package which seems to work on linux.

Goal: Develop a consistent way of handling packages which wrap libraries which are not installed using conda.

Ref:

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:41 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
hmaarrfkcommented, Apr 22, 2022

As I’ve said before, I don’t know why you need to do “discovery” prematurely. You can do it all in an activate script. It doesn’t seem to me that you need new features.

1reaction
hmaarrfkcommented, Apr 22, 2022

An important consideration is what is the reach of the libraries “F” “M” “H”? Can users realistically use them, or is it a niche application.

Niche applications are probably best left for your own channel where you can make things match to your own machine based on the specifics of your installation.

The NVIDIA recipe I’m thinking of is: https://github.com/conda-forge/cudnn-feedstock

We use it to build things like pytorch and tensorflow with GPU support.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Packaging with Conda | Oxford Protein Informatics Group
2. Enter a Conda environment and install dependencies. Since we are creating a Conda package, we need to be working inside a Conda...
Read more >
How do I keep track of pip-installed packages in an Anaconda ...
Use pip installed with conda , e.g. ~/anaconda/bin/pip . Use it to install packages into a conda environment, as well as to see...
Read more >
conda-pack 0.7.0 documentation - GitHub Pages
This is useful for deploying code in a consistent environment—potentially where python and/or conda isn't already installed. A tool like conda-pack is ...
Read more >
Conda Packages — The Joy of Packaging 0.1 documentation
conda install conda -build. Windows only: conda install m2-patch posix. All platforms: cd python-packaging-tutorial/conda_build_recipes conda build ...
Read more >
Publishing Your Python Package on conda and conda-forge
... of publishing their python package to PyPI to be installed via pip. However, many users prefer to use conda. I like to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found