Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to apply custom index-url setting? #95

Open
weeee9 opened this issue Oct 30, 2024 · 2 comments
Open

Question: How to apply custom index-url setting? #95

weeee9 opened this issue Oct 30, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@weeee9
Copy link

weeee9 commented Oct 30, 2024

I'm currently under company's private network, and I have to set custom index-url as mirror to run pip install.
But when running licensecheck, it seems not applying the index-url setting, keep receive network related error.
Is there a way to let licensecheck using my index-url setting?

@weeee9 weeee9 added the question Further information is requested label Oct 30, 2024
@FredHappyface
Copy link
Member

Hi thanks for opening the issue. This is a bug that I hadn't properly considered. At the moment this is from a hard coded string so I'll need to make this configurable. Sadly I cannot give any time frames on this as life is super busy but I hope to get around to it soon™️

@weeee9
Copy link
Author

weeee9 commented Nov 11, 2024

@FredHappyface
how about a simple os.getenv({some_env_name}, {default_value}) as workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants