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

make redhat conversion tool downloadable with Pip #278

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

jasinner
Copy link
Contributor

In order to install the Red Hat converter tool via Pip we need a setup.py. Adding that here.

This change avoids specifying the runtime dependencies in both Pipenv and setup.py by requesting users install the module locally with:

pipenv install -e .

As specified in the updated README.md

Copy link
Collaborator

@andrewpollock andrewpollock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there's a little bit of copy pasta left over?

tools/redhat/setup.py Outdated Show resolved Hide resolved
tools/redhat/setup.py Outdated Show resolved Hide resolved
tools/redhat/setup.py Outdated Show resolved Hide resolved
@jasinner
Copy link
Contributor Author

jasinner commented Sep 12, 2024

Sorry about that. I've updated the values to be specific to this module as per your suggestions.

@jasinner jasinner marked this pull request as draft September 12, 2024 05:27
@jasinner
Copy link
Contributor Author

jasinner commented Sep 12, 2024

Just putting this in Draft while I attempt to import it using Pip in another project.

@jasinner jasinner force-pushed the redhat_osv-as-python-module branch 4 times, most recently from 28173c3 to fb641d7 Compare September 13, 2024 01:02
@jasinner jasinner marked this pull request as ready for review September 13, 2024 01:11
@jasinner
Copy link
Contributor Author

Just putting this in Draft while I attempt to import it using Pip in another project.

Ok, I had to move things around a little bit, but this is importing successfully with Pip now. @andrewpollock can you please have another look and merge if you're happy.

@andrewpollock andrewpollock merged commit 65a0d18 into ossf:main Sep 13, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants