Mercurial > hg > zebra
comparison setup.py @ 1:21c3229ed401
Tidy up
author | Ben Croston <ben@fuzzyduckbrewery.co.uk> |
---|---|
date | Fri, 12 Aug 2011 21:48:00 +0100 |
parents | 5bd9ee5c0cae |
children | 639d9699e53c |
comparison
equal
deleted
inserted
replaced
0:5bd9ee5c0cae | 1:21c3229ed401 |
---|---|
4 | 4 |
5 try: | 5 try: |
6 from distutils.command.build_py import build_py_2to3 as build_py | 6 from distutils.command.build_py import build_py_2to3 as build_py |
7 except ImportError: | 7 except ImportError: |
8 from distutils.command.build_py import build_py | 8 from distutils.command.build_py import build_py |
9 | |
10 PLATFORM_IS_WINDOWS = sys.platform.lower().startswith('win') | |
11 | 9 |
12 classifiers = ['Development Status :: 3 - Alpha', | 10 classifiers = ['Development Status :: 3 - Alpha', |
13 'Operating System :: Microsoft :: Windows', | 11 'Operating System :: Microsoft :: Windows', |
14 'Operating System :: Unix', | 12 'Operating System :: Unix', |
15 'License :: OSI Approved :: MIT License', | 13 'License :: OSI Approved :: MIT License', |
17 'Programming Language :: Python :: 3.2', | 15 'Programming Language :: Python :: 3.2', |
18 'Topic :: Printing'] | 16 'Topic :: Printing'] |
19 | 17 |
20 long_description = open('README').read() | 18 long_description = open('README').read() |
21 | 19 |
22 if PLATFORM_IS_WINDOWS: | 20 if sys.platform.lower().startswith('win'): |
23 requires = ['win32print'] | 21 requires = ['win32print'] |
24 else: | 22 else: |
25 requires = [] | 23 requires = [] |
26 | 24 |
27 setup(name = 'zebra', | 25 setup(name = 'zebra', |