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.

[FEATURE] Use grayskull with any pypi mirror/server

See original GitHub issue

Is your feature request related to a problem? Please describe. As per my reading and testing of this tool, I do not think it is is possible to make a conda recipe out of any pypi mirror just out of the official one (ref to code: https://github.com/conda-incubator/grayskull/blob/d72b59804ab6800d18f1cef40c03ff22565ff2b2/grayskull/pypi/pypi.py#L40). Describe the solution you’d like I would like to be able to use grayskull to make conda recipes out of any python package listed in any arbitrarily provided pypi mirror or even locally. Perhaps by having a CLI command option:

grayskull --mirror https://pypi.myenterprise.com <python-package-name>

Describe alternatives you’ve considered Building a conda recipe manually and having undesired behaviours.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
FernandezMathieucommented, Feb 23, 2021

Same need here, would be great !

1reaction
marcelotrevisanicommented, Nov 22, 2020

Is this line: https://github.com/conda-incubator/grayskull/blob/d72b59804ab6800d18f1cef40c03ff22565ff2b2/grayskull/pypi/pypi.py#L40

The one actually responsible for grayskull looking in pypi.org only? If I changed that one to my entreprise pypi server would it work?

It will depend if your enterprise pypi server will return the metadata correctly. If they return it like pypi it will work, otherwise I am afraid that might not work But it is on my plans to also generate the recipe from sdist packages located anywhere, that will solve your problem as well

Read more comments on GitHub >

github_iconTop Results From Across the Web

grayskull - PyPI
Presently Grayskull can generate recipes for Python packages available on PyPI and also ... It is also possible to use Grayskull without any...
Read more >
By the power of Grayskull… I have the Conda recipe!
You can install grayskull using pip or conda . Grayskull does not rely on conda to run and can generate recipes with minimum...
Read more >
How to Run a PyPi Mirror Locally on Your Laptop using DevPi
In this tutorial we will be making a mirror of PyPI – the ... Now you have seen how to setup a local...
Read more >
Dependency Management - PyScaffold 4.3.1 documentation
Experimental Feature - PyScaffold support for virtual environment ... standard PyPI and pip flow, we adopt the specification of abstract dependencies using ......
Read more >
Installing Packages - Python Packaging User Guide - Python.org
Before you go any further, make sure you have Python and that the expected ... You can use python get-pip.py --prefix=/usr/local/ to install...
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