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

Dependency checking is hacky #2

Open
ksuarz opened this issue Feb 19, 2014 · 0 comments
Open

Dependency checking is hacky #2

ksuarz opened this issue Feb 19, 2014 · 0 comments

Comments

@ksuarz
Copy link
Member

ksuarz commented Feb 19, 2014

Can this dependency checking avoid the following hack in checkdep.py:

sys.modules['repoclosure'] = imp.load_source("repoclosure",
                                             "/usr/bin/repoclosure")
import repoclosure
sys.path.append('/usr/share/createrepo/')                                                                                                                                                                      
sys.modules['createrepo'] = imp.load_source("createrepo",
                                            "/usr/share/createrepo/genpkgmetadata.py")

It would be better if we could pull this out as its own module. Then we can actually test this package in a sane environment.

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

No branches or pull requests

1 participant