depot/third_party/nixpkgs/pkgs/development/python-modules/pyuv/pyuv-external-libuv.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
799 B
Diff

diff --git a/setup.py b/setup.py
index 5071c3b..4b4a176 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,6 @@ try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
-from setup_libuv import libuv_build_ext, libuv_sdist
def get_version():
@@ -35,11 +34,10 @@ setup(name = "pyuv",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
],
- cmdclass = {'build_ext': libuv_build_ext,
- 'sdist' : libuv_sdist},
packages = ['pyuv'],
ext_modules = [Extension('pyuv._cpyuv',
sources = ['src/pyuv.c'],
+ libraries = ['uv']
)]
)