major, minor, micro, releaselevel, serial = sys.version_info
-if major == 2 and minor < 6:
- print("Python >= 2.6 is required to use this module.")
- print("There is no support for Python 3 yet in this module.")
+if major <= 1 or (major == 2 and minor < 6) or (major == 3 and minor < 2):
+ # N.B.: Haven't tested with older py3k versions.
+ print('This module supports Python 2 >= 2.6 and Python 3 >= 3.2.')
author = 'Andrew Wooster'
- url = 'https://github.com/wooster/biplist',
- download_url = 'https://github.com/wooster/biplist/downloads/biplist-0.4.tar.gz',
+ url = 'https://github.com/kelleyk/py3k-biplist',
"""`biplist` is a binary plist parser/generator for Python.
+(Ported to Python 3 by Kevin Kelley <email@example.com>.)
Binary Property List (plist) files provide a faster and smaller serialization
format for property lists on OS X. This is a library for generating binary
plists which can be read by OS X, iOS, or other clients.
-This module requires Python 2.6 or higher.""",
+This module requires Python 2.6 or higher.""",
packages = find_packages(),
setup_requires = ['nose', 'coverage'],
test_suite = 'nose.collector',
+ install_requires = ['six'],