File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 11
11
from spackager import __version__
12
12
13
13
14
+ try :
15
+ long_desc = open (os .path .join (os .path .dirname (__file__ ), 'DESC' )).read ()
16
+ except IOError : # XXX: hacky way to avoid including DESC in distribution
17
+ long_desc = None
18
+
19
+
14
20
setup (
15
21
name = NAME ,
16
22
version = __version__ ,
17
23
description = DESCRIPTION ,
18
- long_description = open ( os . path . join ( os . path . dirname ( __file__ ), 'DESC' )). read () ,
24
+ long_description = long_desc ,
19
25
author = AUTHOR ,
20
26
author_email = AUTHOR_EMAIL ,
21
27
url = 'http://pypi.python.org/pypi/%s' % NAME ,
22
28
platforms = 'Posix; MacOS X; Windows' ,
23
29
packages = find_packages (exclude = ['test' ]),
24
30
scripts = ['spac' ],
25
- install_requires = ['pyquery' ]
31
+ #package_data = { '': ['DESC'] },
32
+ install_requires = ['pyquery' ],
26
33
#include_package_data = True,
27
34
#zip_safe = False
28
35
)
Original file line number Diff line number Diff line change 19
19
the doctyle declaration.
20
20
"""
21
21
22
- __version__ = '0.5.1 '
22
+ __version__ = '0.5.2 '
You can’t perform that action at this time.
0 commit comments