Commits

Jason R. Coombs  committed 7391b0b

Updated dependencies (argparse on python before 2.7 and jaraco.util >= 3.8)

  • Participants
  • Parent commits b6865b0
  • Tags 1.4.1

Comments (0)

Files changed (1)

 """
 Setup script for building jaraco.net
 
-Copyright © 2009-2010 Jason R. Coombs
+Copyright © 2009-2011 Jason R. Coombs
 """
 
-__author__ = 'Jason R. Coombs <jaraco@jaraco.com>'
+import sys
 
 try:
 	from distutils.command.build_py import build_py_2to3 as build_py
 
 name = 'jaraco.net'
 
+py26reqs = ['argparse'] if sys.version_info < (2,7) else []
+
 setup_params = dict(
 	name = name,
 	use_hg_version=dict(increment='0.1'),
 			],
 	},
 	install_requires=[
-		'jaraco.util',
+		'jaraco.util>=3.8',
 		'clientform>=0.2.7',
 		'BeautifulSoup',
-	],
+	] + py26reqs,
 	extras_require = {
 	},
 	dependency_links = [