Skip to content

Fix steps numbering #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 5, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use the same patchlevel module to get the version
Pass the real path from where it has to take the version.
  • Loading branch information
humitos committed May 4, 2020
commit 8b608b5b62e62ec8c13be5c6bc4ff7ddb6a03922
6 changes: 4 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
sys.path.append(os.path.abspath('cpython/Doc'))
from conf import *

version = '3.7'
release = '3.7.7'
# Call patchlevel with the proper path to get the version from
# instead of hardcoding it
import patchlevel
version, release = patchlevel.get_header_version_info('cpython/Doc')

project = 'Python en Español'
copyright = '2001-%s, Python Software Foundation' % time.strftime('%Y')
Expand Down