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

Windows Build for python-magic #9

Open
rluria14 opened this issue Oct 7, 2019 · 5 comments
Open

Windows Build for python-magic #9

rluria14 opened this issue Oct 7, 2019 · 5 comments

Comments

@rluria14
Copy link

rluria14 commented Oct 7, 2019

Issue: Is it possible to get a windows build for python-magic?

It is required as a dependency for CKAN and is holding up the WIN build.

@mariusvniekerk


@mariusvniekerk
Copy link
Member

@rluria14 You need to fist build libmagic for win-64. Feel free to open a pull request on https://github.com/conda-forge/libmagic-feedstock to get that going.

@rluria14
Copy link
Author

rluria14 commented Oct 8, 2019

@mariusvniekerk Will do. Thanks.

@yarikoptic
Copy link

Just FTR to save time for others, libmagic-feedstock migrated into file-feedstock (but no mentioning of that in README, so had to spent time to figure out what is going on). The Windows build issue was transferred to conda-forge/file-feedstock#3

@yarikoptic
Copy link

oh, and I was pointed to the fact that there is m2-file package (recipe: https://github.com/conda/conda-recipes/blob/master/msys2/m2-file/meta.yaml) from msys2 channel... 3 yo and contains:

$> tar -xjvf m2-file-5.25-2.tar.bz2 
info/index.json
info/files
info/paths.json
info/about.json
info/recipe/bld.bat
info/recipe/meta.yaml.template
info/recipe/meta.yaml
Library/usr/share/licenses/file/COPYING
Library/usr/share/man/man3/libmagic.3.gz
Library/usr/include/magic.h
Library/usr/lib/python3.4/site-packages/magic.py
Library/usr/lib/python2.7/site-packages/magic.py
Library/usr/share/man/man5/magic.5.gz
Library/usr/share/man/man1/file.1.gz
Library/usr/bin/file.exe
Library/usr/lib/libmagic.dll.a
Library/usr/bin/msys-magic-1.dll
Library/usr/share/file/magic
Library/usr/share/magic
Library/usr/share/misc/magic
Library/usr/share/misc/magic.mgc

I wonder if it could be used for this feedstock to build on windows... sending out a blind #13

@h-vetinari
Copy link
Member

This is also blocking use of diffoscope on windows, which would be very useful for where diffing files/artefacts is necessary in a cross-platform way.

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 a pull request may close this issue.

4 participants