Code Monkey home page Code Monkey logo

Comments (8)

Synss avatar Synss commented on July 17, 2024

Hi @thiyaneshece,

Thank you for your feedback. You are correct that Windows is not supported.

However, mbedtls should work under Windows and I do not think that I use any *nix-specific code. With some luck, setting up AppVeyor or another Windows CI service may be sufficient. Would you have any interest in contributing? Otherwise, I will see what I can do.

from python-mbedtls.

Synss avatar Synss commented on July 17, 2024

Note that I consider this issue a feature request and not a bug.---Not that it makes a huge difference.

from python-mbedtls.

Synss avatar Synss commented on July 17, 2024

Just a short update on this issue. I have created an AppVeyor account and set up the hook to compile and test there. Now, I am also setting up an MS box locally using Vagrant and Ansible to debug a bit faster. Cheers

from python-mbedtls.

thiyaneshece avatar thiyaneshece commented on July 17, 2024

@Synss - Sorry that i was loaded with other activities, could not respond on time. I would say i'm a beginner in python, also i am not aware of AppVeyor setup.

Thanks for information being updated, It would really help me a lot if i get windows platform support for this library.

from python-mbedtls.

Synss avatar Synss commented on July 17, 2024

Hi! I have not forgotten you but I have had an IRL (small) accident and Windows is out of my confort zone (although I have interest in having this feature). I shall come back to this quickly.

from python-mbedtls.

Synss avatar Synss commented on July 17, 2024

Hi! Issue #36 reported missing files in the archive. That could very well be the cause for the failing installation.

from python-mbedtls.

Synss avatar Synss commented on July 17, 2024

Hi! I still do not have wheel for windows but could you try again with 1.4.1 and report here whether it worked? I have fixed a problem with the archive.

from python-mbedtls.

Synss avatar Synss commented on July 17, 2024

Hi! The lastest commit on master should let you build on Windows. You still need to install mbedtls beforehand and set the INCLUDE and LIBPATH variables if mbedtls is not in the expected locations.

I have had success compiling mbedtls from git in the current 2.16 branch with the following call:
MSBuild.exe /NoLogo /MaxCpuCount /p:Configuration=Release /p:Platform=x64 /p:PlatformToolset=v140 /p:WholeProgramOptimization=False .\visualc\VS2010\mbedTLS.sln from the mbedtls root (say, $env:MBEDTLSROOT).

And then, from the python-mbedtls root, you need to set INCLUDE to the include directory from mbedtls (e.g.: $env:MBEDTLSROOT\include) and LIBPATH to something like $env:MBEDTLSROOT\visualc\VS2010\x64\Release and python setup.py install should work.

Note that I run everything under PowerShell and from the "x64 Native Tools Command Prompt for VS 2019". I am not sure whether this is a requirement or not.

This is still a bit involved and I will keep working on making wheels for Windows. That should be easier now.

from python-mbedtls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.