Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python Bindings: Move version info into own file.
The version information is generated during 'configue' into a dedicated file. This separates the version info from other global and static variables used within the package MythTV. The 'INSTALL_PREFIX' is also generated on the fly. This will ease the build process of the Python Bindings in the future. Refs #731
- Loading branch information
Showing
5 changed files
with
27 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
static.py | ||
_versions.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
""" | ||
Contains static and global variables for MythTV Python Bindings | ||
related to version information. | ||
The file MythTV/_versions.py is usually generated by ./configure. | ||
""" | ||
|
||
OWN_VERSION = @MYTHTV_PYTHON_OWN_VERSION@ | ||
SCHEMA_VERSION = 1378 | ||
NVSCHEMA_VERSION = 1007 | ||
MUSICSCHEMA_VERSION = 1025 | ||
PROTO_VERSION = '91' | ||
PROTO_TOKEN = 'BuzzOff' | ||
BACKEND_SEP = '[]:[]' | ||
INSTALL_PREFIX = @MYTHTV_INSTALL_PREFIX@ |
12 changes: 3 additions & 9 deletions
12
mythtv/bindings/python/MythTV/static.py.in → mythtv/bindings/python/MythTV/static.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters