Files
deb-python-cassandra-driver/debian/patches/0001-don-t-use-ez_setup.patch
2014-08-07 11:33:58 -05:00

39 lines
1.3 KiB
Diff

From: paul cannon <paul@spacemonkey.com>
Date: Thu, 3 Apr 2014 11:27:09 -0600
Subject: don't use ez_setup
Debian packages aren't supposed to download stuff while building, and
since the version of setuptools in stable is less than the one ez_setup
wants, and since some system python packages don't ship their .egg-info
directories, it might try.
It's ok though, we can rely on the Depends and Build-Depends for making
sure python-setuptools and the various other deps are around at the right
times.
---
diff --git a/setup.py b/setup.py
index 11cfd4c..4f05d1f 100644
--- a/setup.py
+++ b/setup.py
@@ -20,9 +20,6 @@ if __name__ == '__main__' and sys.argv[1] == "gevent_nosetests":
from gevent.monkey import patch_all
patch_all()
-import ez_setup
-ez_setup.use_setuptools()
-
from setuptools import setup
from distutils.command.build_ext import build_ext
from distutils.core import Extension
@@ -194,8 +191,8 @@ def run_setup(extensions):
author_email='tyler@datastax.com',
packages=['cassandra', 'cassandra.io'],
include_package_data=True,
- install_requires=dependencies,
- tests_require=['nose', 'mock', 'PyYAML', 'pytz'],
+ install_requires=(),
+ tests_require=(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',