1
- try :
2
- from setuptools import setup
3
- except ImportError :
4
- from distutils .core import setup
1
+ from setuptools import setup , find_packages
2
+
5
3
version = '0.5.0'
6
4
setup (
7
5
name = 'pyres' ,
8
6
version = version ,
9
- description = 'Python Resque clone' ,
7
+ description = 'Python resque clone' ,
10
8
author = 'Matt George' ,
11
9
12
10
maintainer = 'Matt George' ,
13
11
license = 'MIT' ,
14
12
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 ,
18
15
include_package_data = True ,
19
16
scripts = ['scripts/pyres_worker' , 'scripts/pyres_web' ],
20
- zip_safe = True ,
21
17
install_requires = [
22
18
'simplejson>=2.0.9' ,
23
19
'itty>=0.6.2' ,
31
27
'License :: OSI Approved :: MIT License' ,
32
28
'Operating System :: OS Independent' ,
33
29
'Programming Language :: Python' ],
34
- )
30
+ )
0 commit comments