mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
8516495560
Pyuv is a Python interface to libuv, a cross-platform asychronous I/O library. The setup.py is tweaked to that the system version of libuv is used, instead of tying to fetch one with git. [Bjørn: change commit message]
28 lines
1 KiB
Diff
28 lines
1 KiB
Diff
diff --git a/setup.py b/setup.py
|
|
index ec0caac..2c1fdb6 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -6,7 +6,6 @@ try:
|
|
from setuptools import setup, Extension
|
|
except ImportError:
|
|
from distutils.core import setup, Extension
|
|
-from setup_libuv import libuv_build_ext, libuv_sdist
|
|
|
|
|
|
__version__ = "0.11.5"
|
|
@@ -32,12 +31,11 @@ setup(name = "pyuv",
|
|
"Programming Language :: Python :: 3.3",
|
|
"Programming Language :: Python :: 3.4"
|
|
],
|
|
- cmdclass = {'build_ext': libuv_build_ext,
|
|
- 'sdist' : libuv_sdist},
|
|
ext_modules = [Extension('pyuv',
|
|
sources = ['src/pyuv.c'],
|
|
+ libraries = ['uv'],
|
|
define_macros=[('MODULE_VERSION', __version__),
|
|
- ('LIBUV_REVISION', libuv_build_ext.libuv_revision)]
|
|
+ ('LIBUV_REVISION', 'unknown')]
|
|
)]
|
|
)
|
|
|