File tree Expand file tree Collapse file tree 4 files changed +17
-8
lines changed Expand file tree Collapse file tree 4 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 1+ pyrocore (0.6.1) precise; urgency=low
2+
3+ * ...
4+
5+ -- pyroscope <
[email protected] > Wed, 31 May 2017 20:15:47 +0200
6+
17pyrocore (0.5.2) precise; urgency=high
28
39 * Fix: Use `d.save_resume` to flush session
Original file line number Diff line number Diff line change 1111# All configuration values have a default; values that are commented out
1212# serve to show the default.
1313
14- import sys , os
14+ import os
15+ import re
16+ import sys
1517
1618# If extensions (or modules to document with autodoc) are in another directory,
1719# add these directories to sys.path here. If the directory is relative to the
1820# documentation root, use os.path.abspath to make it absolute, like shown here.
1921#sys.path.insert(0, os.path.abspath('.'))
2022
23+ project_root = os .path .dirname (os .path .dirname (__file__ ))
24+ project_version = open (os .path .join (project_root , 'debian' , 'changelog' )).readline ().strip ()
25+ project_version = re .match (r'.*\(([^)]+)\).*' , project_version ).group (1 )
26+
2127on_rtd = os .environ .get ('READTHEDOCS' , None ) == 'True'
2228if not on_rtd :
2329 import sphinx_rtd_theme
6066# built documents.
6167#
6268# The short X.Y version.
63- version = '0.5.2'
69+ version = project_version
6470# The full version, including alpha/beta/rc tags.
65- release = version
71+ release = project_version
6672
6773# The language for content autogenerated by Sphinx. Refer to documentation
6874# for a list of supported languages.
Original file line number Diff line number Diff line change @@ -370,9 +370,6 @@ def release():
370370 error ("\n *** ERROR: You're still using a 'dev' version!" )
371371 sys .exit (1 )
372372
373- # Check docs version
374- sh ("grep '^version = .%s.$' docs/conf.py" % version )
375-
376373 # Check that source distribution can be built and is complete
377374 print
378375 print "~~~ TESTING SOURCE BUILD" .ljust (78 , '~' )
Original file line number Diff line number Diff line change 11[egg_info]
2- # # tag_build = dev
3- # # tag_date = true
2+ tag_build = dev
3+ tag_date = true
44
55[sdist]
66formats = zip
You can’t perform that action at this time.
0 commit comments