1 Description: Make python-enet build against system libenet 0.0~svn21-1
4 Last-Update: 2011-05-01
6 --- python-enet-0.0~svn21.orig/setup.py
7 +++ python-enet-0.0~svn21/setup.py
8 @@ -31,22 +31,22 @@ import sys
10 source_files = ["enet.pyx"]
12 -_enet_files = glob.glob("enet/*.c")
13 +# _enet_files = glob.glob("enet/*.c")
16 - print("You need to download and extract the enet 1.3 source to enet/")
17 - print("Download the source from: http://enet.bespin.org/SourceDistro.html")
18 - print("See the README for more instructions")
21 -source_files.extend(_enet_files)
22 +# if not _enet_files:
23 +# print("You need to download and extract the enet 1.3 source to enet/")
24 +# print("Download the source from: http://enet.bespin.org/SourceDistro.html")
25 +# print("See the README for more instructions")
28 +# source_files.extend(_enet_files)
30 define_macros = [('HAS_POLL', None),
32 ('HAS_MSGHDR_FLAGS', None),
33 ('HAS_SOCKLEN_T', None) ]
38 if sys.platform == 'win32':
39 define_macros.extend([('WIN32', None)])