mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-01 15:20:55 +00:00
setup: remove attempt to automatically satisfy dependency on pywin32
This commit is contained in:
parent
309e41cffc
commit
c440989b38
@ -19,18 +19,22 @@ install_requires=[
|
|||||||
"foolscap[secure_connections] >= 0.3.1",
|
"foolscap[secure_connections] >= 0.3.1",
|
||||||
"Nevow >= 0.6.0",
|
"Nevow >= 0.6.0",
|
||||||
]
|
]
|
||||||
import platform
|
|
||||||
if platform.system() == "Windows":
|
## The following block is commented-out because there is not currently a pywin32 package which
|
||||||
# Twisted requires pywin32 if it is going to offer process management functionality, or if
|
## can be easy_install'ed and also which actually makes "import win32api" succeed. Users have
|
||||||
# it is going to offer iocp reactor. We currently require process management. It would be
|
## to manually install pywin32 on Windows before installing Tahoe.
|
||||||
# better if Twisted would declare that it requires pywin32 if it is going to offer process
|
##import platform
|
||||||
# management. Then the specification and the evolution of Twisted's reliance on pywin32 can
|
##if platform.system() == "Windows":
|
||||||
# be confined to the Twisted setup data, and Tahoe can remain blissfully ignorant about such
|
## # Twisted requires pywin32 if it is going to offer process management functionality, or if
|
||||||
# things as if a future version of Twisted requires a different version of pywin32, or if a
|
## # it is going to offer iocp reactor. We currently require process management. It would be
|
||||||
# future version of Twisted implements process management without using pywin32 at all,
|
## # better if Twisted would declare that it requires pywin32 if it is going to offer process
|
||||||
# etc.. That is twisted ticket #3238 -- http://twistedmatrix.com/trac/ticket/3238 . But
|
## # management. Then the specification and the evolution of Twisted's reliance on pywin32 can
|
||||||
# until Twisted does that, Tahoe needs to be non-ignorant of the following requirement:
|
## # be confined to the Twisted setup data, and Tahoe can remain blissfully ignorant about such
|
||||||
install_requires.append('pywin32')
|
## # things as if a future version of Twisted requires a different version of pywin32, or if a
|
||||||
|
## # future version of Twisted implements process management without using pywin32 at all,
|
||||||
|
## # etc.. That is twisted ticket #3238 -- http://twistedmatrix.com/trac/ticket/3238 . But
|
||||||
|
## # until Twisted does that, Tahoe needs to be non-ignorant of the following requirement:
|
||||||
|
## install_requires.append('pywin32')
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
if hasattr(sys, 'frozen'): # for py2exe
|
if hasattr(sys, 'frozen'): # for py2exe
|
||||||
|
Loading…
x
Reference in New Issue
Block a user