We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9570536 commit 8b608b5Copy full SHA for 8b608b5
1 file changed
conf.py
@@ -21,8 +21,10 @@
21
sys.path.append(os.path.abspath('cpython/Doc'))
22
from conf import *
23
24
-version = '3.7'
25
-release = '3.7.7'
+# Call patchlevel with the proper path to get the version from
+# instead of hardcoding it
26
+import patchlevel
27
+version, release = patchlevel.get_header_version_info('cpython/Doc')
28
29
project = 'Python en Español'
30
copyright = '2001-%s, Python Software Foundation' % time.strftime('%Y')
0 commit comments