The Wayback Machine - http://web.archive.org/web/20201210020213/https://github.com/linkedin/pygradle/issues/302
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

Example - Use custom artifactory pypi repo #302

Open
marcosflobo opened this issue May 8, 2019 · 3 comments
Open

Example - Use custom artifactory pypi repo #302

marcosflobo opened this issue May 8, 2019 · 3 comments

Comments

@marcosflobo
Copy link

@marcosflobo marcosflobo commented May 8, 2019

Hi all,

I'm looking for some example for: Configure in my build.gradle my custom Pypi Artifactory repo

So, I already have configured a PyPi mirror in my Artifactory. I would like to have an example about how to configure this PyPi artifactory repository in a build.gradle file.

Thanks!

@srvxid
Copy link

@srvxid srvxid commented Jul 8, 2019

@marcosflobo Did you ever figure out how to do that? I've the exact same question and given the lack of a response here I doubt I'll get one to my issue. I'm debating whether to use pyGradle at all now.

@shvilime
Copy link

@shvilime shvilime commented Jul 23, 2019

Just add in your build.gradle path to your ivy repository.

repositories {
ivy {
url 'http://XX.XX.XX.XX/nexus/repository/pypi-external/'
layout 'pattern', {
artifact '[organisation]/[module]/[revision]/[artifact]-revision.[ext]'
ivy '[organisation]/[module]/[revision]/[module]-[revision].ivy'
m2compatible = true
}
}
}

@marcosflobo
Copy link
Author

@marcosflobo marcosflobo commented Aug 19, 2020

Sorry for the 1 year late @srvxid , I didn't so far

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.