77
88required = ['httplib2' ]
99
10- if sys .version_info [:2 ] < (2 ,6 ):
10+ if sys .version_info [:2 ] < (2 , 6 ):
1111 required .append ('simplejson' )
1212
13+ version = __import__ ('embedly' ).__version__
14+
1315if os .path .exists ("README.rst" ):
1416 long_description = codecs .open ("README.rst" , "r" , "utf-8" ).read ()
1517else :
1618 long_description = "See https://github.com/embedly/embedly-python"
1719
1820
1921setup (
20- name = 'Embedly' ,
21- version = '0.4.3' ,
22- author = 'Embed.ly, Inc.' ,
23- author_email = '[email protected] ' ,
24- description = 'Python Library for Embedly' ,
22+ name = 'Embedly' ,
23+ version = version ,
24+ author = 'Embed.ly, Inc.' ,
25+ 26+ description = 'Python Library for Embedly' ,
2527 long_description = long_description ,
26- license = """
28+ license = """
2729 Copyright (c) 2011, Embed.ly, Inc.
2830 All rights reserved. Released under the 3-clause BSD license.
2931 """ ,
30- url = "https://github.com/embedly/embedly-python" ,
31- packages = ['embedly' ],
32- install_requires = required ,
33- zip_safe = True ,
32+ url = "https://github.com/embedly/embedly-python" ,
33+ packages = ['embedly' ],
34+ install_requires = required ,
35+ zip_safe = True ,
3436 classifiers = (
3537 'Development Status :: 5 - Production/Stable' ,
3638 'Intended Audience :: Developers' ,
4547 'Programming Language :: Python :: 3.3' ,
4648 ),
4749 ** extra
48- )
50+ )
0 commit comments