Skip to content
This repository was archived by the owner on Apr 23, 2022. It is now read-only.
This repository was archived by the owner on Apr 23, 2022. It is now read-only.

Windows support would be nice #6

Open

Description

@i30817

I'm using this on this tool:
https://github.com/i30817/zxd3/

And this not being a OS independent package or have a windows version uploaded to pypi prevents me from releasing it on pypi for windows.

Unfortunately i know less than nothing about making native code compilable for windows and how to make pypi make that happen, so this is a issue, not a pull request.

Activity

  1. samuelcolvin commented on Jan 22, 2018

    @samuelcolvin
    Owner

    Generating native binaries for windows is far from trivial and since I don't have a windows machine and haven't worked on it for years I wouldn't have a clue.

    I couldn't even generate native manylinux binaries for linux since the suggested steps to build them on travis: https://github.com/pypa/manylinux use centos:5.11 which has a very old version of gcc which can't compile xdelta3.

  2. i30817 commented on Jan 22, 2018

    @i30817
    Author

    Seems like the path forward for manylinux is this, from nosing around the issues:
    pypa/manylinux#118 (comment)

  3. samuelcolvin commented on Jan 22, 2018

    @samuelcolvin
    Owner

    makes sense, but that doesn't help for windows.

    Since I'm not using this package in production yet and will only be using it on linux servers which can happily compile xdelta3, I'm afraid this can't be a priority for me.

  4. i30817 commented on Jan 22, 2018

    @i30817
    Author

    For windows, if you see mingwpy? I think it's supposed to allow crossbuild.

    https://anaconda.org/carlkl/mingwpy
    http://mingwpy.github.io/index.html

    Ofc, i haven't actually tried it, since i'm not a c person, maybe i should

    edit: github page says it's abandoned. Annoying

  5. i30817 commented on Jan 22, 2018

    @i30817
    Author

    This https://stackoverflow.com/a/24793171/214260 (ie: building it locally and distributing it in the windows wheel like 'data') might work

    And using mingw-w64 to crossbuild might work. I actually tried it after installing mingw-w64 with
    ./configure --build=x86_64-pc-linux-gnu --target=i686-w64-mingw32

    and got stopped after errors in make like this 'xdelta3.h:171:72: error: expected declaration specifiers or ‘...’ before string constant'

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions