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

Python packages that requires private packages in artifacts feed #15

Closed
kalkun opened this issue Mar 5, 2020 · 1 comment
Closed

Python packages that requires private packages in artifacts feed #15

kalkun opened this issue Mar 5, 2020 · 1 comment

Comments

@kalkun
Copy link

kalkun commented Mar 5, 2020

I have a package that depends on a package that requires authentication to be consumed from an Azure Artifacts feed.

I was wondering how the authentication scheme of artifacts-keyring interplay with defining a package installation through setuptools.setup. Since installing my dependency package requires artifacts and artifacts-keyring, then these packages cannot simply be defined in the install_requires keyword and does not seem to work when defined through setup_requires either.

Does there exist any advice from the side of this project on how I can define my setuptools.setup so that I can install my new package only through:

pip install <package name> --index-url https://pkgs.dev.azure.com/<org_name>/_packaging/<feed_name>/pypi/simple

or would I have to enforce installation as a two step process?

@kalkun
Copy link
Author

kalkun commented Mar 5, 2020

I realize that my new dependency would require authentication regardless, so this would always have to be a two step installation.

@kalkun kalkun closed this as completed Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant