Mercurial > hg > CommandParser
comparison setup.py @ 9:0069096e8e22
python 2.4 compatability
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 30 Mar 2012 16:45:50 -0700 |
parents | 109627b7db9f |
children | 03db23600c1f |
comparison
equal
deleted
inserted
replaced
8:109627b7db9f | 9:0069096e8e22 |
---|---|
2 setup packaging script for CommandParser | 2 setup packaging script for CommandParser |
3 """ | 3 """ |
4 | 4 |
5 import os | 5 import os |
6 | 6 |
7 version = "0.1.1" | 7 version = "0.1.2" |
8 dependencies = [] | 8 dependencies = [] |
9 | |
10 try: | |
11 import json | |
12 except ImportError: | |
13 dependencies.append('simplejson') | |
9 | 14 |
10 # allow use of setuptools/distribute or distutils | 15 # allow use of setuptools/distribute or distutils |
11 kw = {} | 16 kw = {} |
12 try: | 17 try: |
13 from setuptools import setup | 18 from setuptools import setup |