/usr/lib/python2.7/dist-packages/DisplayCAL/meta.py is in dispcalgui 3.5.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | # -*- coding: utf-8 -*-
"""
Meta information
"""
import re
import sys
try:
from __version__ import (BUILD_DATE as build, LASTMOD as lastmod, VERSION,
VERSION_BASE, VERSION_STRING)
except ImportError:
build = lastmod = "0000-00-00T00:00:00.0Z"
VERSION = None
from options import test_update
if not VERSION or test_update:
VERSION = VERSION_BASE = (0, 0, 0, 0)
VERSION_STRING = ".".join(str(n) for n in VERSION)
if sys.version_info[:2] < (3, ):
author = "Florian Höch".decode("utf8")
else:
author = "Florian Höch"
author_ascii = "Florian Hoech"
description = ("Display calibration and profiling with a focus on accuracy and "
"versatility")
longdesc = ("Calibrate and characterize your display devices using "
"one of many supported measurement instruments, with "
"support for multi-display setups and a variety of "
"available options for advanced users, such as "
"verification and reporting functionality to evaluate "
"ICC profiles and display devices, creating video 3D "
"LUTs, as well as optional CIECAM02 gamut mapping to "
"take into account varying viewing conditions.")
domain = "displaycal.net"
author_email = "florian" + chr(0100) + domain
name = "DisplayCAL"
name_html = '<span class="appname">Display<span>CAL</span></span>'
py_maxversion = (2, 7)
py_minversion = (2, 6)
version = VERSION_STRING
version_lin = VERSION_STRING # Linux
version_mac = VERSION_STRING # Mac OS X
version_win = VERSION_STRING # Windows
version_src = VERSION_STRING
version_short = re.sub("(?:\.0){1,2}$", "", version)
version_tuple = VERSION # only ints allowed and must be exactly 4 values
wx_minversion = (2, 8, 8)
def script2pywname(script):
""" Convert all-lowercase script name to mixed-case pyw name """
a2b = {name + "-3dlut-maker": name + "-3DLUT-maker",
name + "-vrml-to-x3d-converter": name + "-VRML-to-X3D-converter"}
if script.lower().startswith(name.lower()):
pyw = name + script[len(name):]
return a2b.get(pyw, pyw)
return script
|