Mercurial > hg > zebra
comparison setup.py @ 17:a9dacd180597
Does not work in python 2.6 after all
Tidy up
author | Ben Croston <ben@croston.org> |
---|---|
date | Mon, 15 Aug 2011 20:18:38 +0100 |
parents | cc41931a7ded |
children | 777602a0da24 |
comparison
equal
deleted
inserted
replaced
16:3cad40fda053 | 17:a9dacd180597 |
---|---|
9 | 9 |
10 classifiers = ['Development Status :: 3 - Alpha', | 10 classifiers = ['Development Status :: 3 - Alpha', |
11 'Operating System :: Microsoft :: Windows', | 11 'Operating System :: Microsoft :: Windows', |
12 'Operating System :: Unix', | 12 'Operating System :: Unix', |
13 'License :: OSI Approved :: MIT License', | 13 'License :: OSI Approved :: MIT License', |
14 'Programming Language :: Python', | |
15 'Programming Language :: Python :: 2.6', | |
16 'Programming Language :: Python :: 2.7', | 14 'Programming Language :: Python :: 2.7', |
17 'Programming Language :: Python :: 3', | 15 'Programming Language :: Python :: 3', |
18 'Topic :: Printing'] | 16 'Topic :: Printing'] |
19 | 17 |
20 long_description = open('README').read() | 18 long_description = open('README').read() |
22 if sys.platform.lower().startswith('win'): | 20 if sys.platform.lower().startswith('win'): |
23 requires = ['win32print'] | 21 requires = ['win32print'] |
24 try: | 22 try: |
25 import win32print | 23 import win32print |
26 except: | 24 except: |
27 raise Exception('Requires the win32print module from the pywin32 package') | 25 raise Exception('Requires the win32print module from the pywin32 package.\nDownload from http://pypi.python.org/pypi/pywin32/') |
28 else: | 26 else: |
29 requires = [] | 27 requires = [] |
30 | 28 |
31 setup(name = 'zebra', | 29 setup(name = 'zebra', |
32 version = '0.0.2a', | 30 version = '0.0.3a', |
33 py_modules = ['zebra'], | 31 py_modules = ['zebra'], |
34 author = 'Ben Croston', | 32 author = 'Ben Croston', |
35 author_email = 'ben@croston.org', | 33 author_email = 'ben@croston.org', |
36 maintainer = 'Ben Croston', | 34 maintainer = 'Ben Croston', |
37 maintainer_email = 'ben@croston.org', | 35 maintainer_email = 'ben@croston.org', |