File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
- Copyright (c) 2011, Jannis Leidel.
1
+ Copyright (c) 2011-2012 , Jannis Leidel.
2
2
All rights reserved.
3
3
4
4
Redistribution and use in source and binary forms, with or without modification,
Original file line number Diff line number Diff line change 41
41
42
42
# General information about the project.
43
43
project = u'celery-haystack'
44
- copyright = u'2011, Jannis Leidel'
44
+ copyright = u'2011-2012 , Jannis Leidel'
45
45
46
46
# The version info for the project you're documenting, acts as replacement for
47
47
# |version| and |release|, also used in various other places throughout the
48
48
# built documents.
49
49
#
50
- # The short X.Y version.
51
- version = '0.4'
52
- # The full version, including alpha/beta/rc tags.
53
- release = '0.4'
50
+ try :
51
+ from celery_haystack import __version__
52
+ # The short X.Y version.
53
+ version = '.' .join (__version__ .split ('.' )[:2 ])
54
+ # The full version, including alpha/beta/rc tags.
55
+ release = __version__
56
+ except ImportError :
57
+ version = release = 'dev'
54
58
55
59
# The language for content autogenerated by Sphinx. Refer to documentation
56
60
# for a list of supported languages.
You can’t perform that action at this time.
0 commit comments