From: Bob Halley Date: Fri, 29 Sep 2006 23:17:45 +0000 (+0000) Subject: add python 2.5 distutils metadata X-Git-Tag: v1.5.0~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=506641ed3ecd77e5408a9d37f1a91d7a18e87446;p=thirdparty%2Fdnspython.git add python 2.5 distutils metadata --- diff --git a/setup.py b/setup.py index 5b6d6eef..1c296460 100755 --- a/setup.py +++ b/setup.py @@ -55,4 +55,8 @@ if sys.hexversion >= 0x02020300: "Topic :: Software Development :: Libraries :: Python Modules", ] +if sys.hexversion >= 0x02050000: + kwargs['requires'] = [] + kwargs['provides'] = ['dns'] + setup(**kwargs)