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

Fixed library finding for other platforms/package managers. #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ajsyp
Copy link

@ajsyp ajsyp commented Jan 16, 2019

libarchive.so is called archive.dll on Windows, which means that ctypes.util.find_library won't find libarchive on Windows. This PR calls find_library on archive if libarchive didn't work, thereby making this package function correctly on Windows.

@ajsyp
Copy link
Author

ajsyp commented Jan 16, 2019

It should be mentioned that this is very similar to #30, but allows for libarchive to be used, as well.

@coveralls
Copy link

coveralls commented Jan 16, 2019

Pull Request Test Coverage Report for Build 18

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 70.719%

Totals Coverage Status
Change from base Build 14: 0.2%
Covered Lines: 669
Relevant Lines: 946

💛 - Coveralls

libarchive/library.py Outdated Show resolved Hide resolved
@ajsyp
Copy link
Author

ajsyp commented Jan 17, 2019

Changes made. Let me know if there's anything else!

@ajsyp
Copy link
Author

ajsyp commented Apr 29, 2019

Just a friendly check -- is there anything else needed before merging?

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.

None yet

3 participants