1#!/usr/bin/env python 2 3try: 4 from setuptools import setup, find_packages 5except ImportError: 6 import ez_setup 7 ez_setup.use_setuptools() 8 from setuptools import setup, find_packages 9 10import os 11import sys 12 13major, minor, micro, releaselevel, serial = sys.version_info 14 15if major <= 1 or (major == 2 and minor < 6) or (major == 3 and minor < 4): 16 # N.B.: Haven't tested with older py3k versions. 17 print('This module supports Python 2 >= 2.6 and Python 3 >= 3.4.') 18 sys.exit(1) 19 20author = 'Andrew Wooster' 21email = 'andrew@planetaryscale.com' 22version = '1.0.3' 23desc = 'biplist is a library for reading/writing binary plists.' 24 25setup( 26 name = 'biplist', 27 version = version, 28 url = 'https://bitbucket.org/wooster/biplist', 29 download_url = 'https://bitbucket.org/wooster/biplist/downloads/biplist-%s.tar.gz' % version, 30 license = 'BSD', 31 description = desc, 32 long_description = 33 """`biplist` is a binary plist parser/generator for Python. 34 35Binary Property List (plist) files provide a faster and smaller serialization 36format for property lists on OS X. This is a library for generating binary 37plists which can be read by OS X, iOS, or other clients. 38 39This module requires Python 2.6 or higher or Python 3.4 or higher.""", 40 author = author, 41 author_email = email, 42 packages = find_packages(), 43 include_package_data = True, 44 zip_safe = False, 45 classifiers = [ 46 'Development Status :: 5 - Production/Stable', 47 'Intended Audience :: Developers', 48 'License :: OSI Approved :: BSD License', 49 'Operating System :: OS Independent', 50 'Programming Language :: Python', 51 "Topic :: Software Development :: Libraries :: Python Modules", 52 "Topic :: Text Processing :: Markup", 53 ], 54 test_suite = 'nose.collector', 55 install_requires = [], 56 requires = [], 57 tests_require = ['nose', 'coverage'], 58) 59