1- try :
2- from setuptools import setup
3- except ImportError :
4- from distutils .core import setup
1+ from setuptools import setup , find_packages
2+
53version = '0.5.0'
64setup (
75 name = 'pyres' ,
86 version = version ,
9- description = 'Python Resque clone' ,
7+ description = 'Python resque clone' ,
108 author = 'Matt George' ,
1191210 maintainer = 'Matt George' ,
1311 license = 'MIT' ,
1412 url = 'http://github.com/binarydud/pyres' ,
15- packages = ['pyres' , 'resweb' , 'pyres/failure' ],
16- download_url = 'http://github.com/binarydud/pyres/tarball/v%s' % version ,
17- package_data = {'resweb' : ['templates/*.mustache' ,'media/*' ]},
13+ packages = find_packages (exclude = ['ez_setup' , 'examples' , 'tests' ]),
14+ download_url = 'http://cloud.github.com/downloads/binarydud/pyres/pyres-v%s.tar.gz' % version ,
1815 include_package_data = True ,
1916 scripts = ['scripts/pyres_worker' , 'scripts/pyres_web' ],
20- zip_safe = True ,
2117 install_requires = [
2218 'simplejson>=2.0.9' ,
2319 'itty>=0.6.2' ,
3127 'License :: OSI Approved :: MIT License' ,
3228 'Operating System :: OS Independent' ,
3329 'Programming Language :: Python' ],
34- )
30+ )
0 commit comments