Coder Social home page Coder Social logo

support for cygwin about pywin32 HOT 9 CLOSED

 avatar commented on July 18, 2024
support for cygwin

from pywin32.

Comments (9)

Avasam avatar Avasam commented on July 18, 2024 1

Tagging @pyhedgehog as original SourceForge issue Creator.

from pywin32.

 avatar commented on July 18, 2024

Logged In: YES
user_id=552329

Why would you need support for cygwin? If you're running
cygwin, then you have Windows, so you can use the
standard extensions, can't you? (seems to work for me).

Original comment by: anadelonbrin

from pywin32.

 avatar commented on July 18, 2024

Logged In: YES
user_id=39274

Standard extentions can't work with cygwin version of python
and visa-versa cygwin extentions can't work with windows
version of python.

Original comment by: dubnerm

from pywin32.

 avatar commented on July 18, 2024

Logged In: YES
user_id=552329

I realise that, but my point was that you're on windows, so
you can use a windows version of Python if you want to do
windows things. If you want to do *nix'y sort of things, then
use the cygwin version. You can still run the windows python
in cygwin.

Original comment by: anadelonbrin

from pywin32.

 avatar commented on July 18, 2024

Logged In: YES
user_id=39274

There are couple of extentions that exists only as cygwin
versions

Original comment by: dubnerm

from pywin32.

 avatar commented on July 18, 2024

Logged In: YES
user_id=552329

Could you not, then, port those extensions? Or use both the
cygwin python and the windows one, running as separate
processes and working together? Seems a lot simpler than
porting all the win32all stuff over to cygwin...

Original comment by: anadelonbrin

from pywin32.

 avatar commented on July 18, 2024

Logged In: YES
user_id=39274

Not sure. At last w32api cygwin package is compatible by
signatures with MS library (as it uses same dlls!).
Also I've just created oversimplified wrapper (with only
functions used by anygui.backends.mswgui) with PyRex.
Something like:
--- win32api.pyx:
cdef extern from "windows.h":
ctypedef unsigned int UINT
int w32_Beep "Beep" (UINT dwFreq, UINT dwDuration)
def Beep(UINT freq, UINT dur):
return w32_Beep(freq, dur)
--- setup.py
...
Extension("win32api", ["win32api.pyx"]),
...
---
and what startled me it works under both VC and cygwin.

Original comment by: dubnerm

from pywin32.

 avatar commented on July 18, 2024

vote up

Original comment by: khalak

from pywin32.

Avasam avatar Avasam commented on July 18, 2024

Related to #861
Closing in favor of #1378 which has more modern discussions

from pywin32.

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.