/usr/lib/python3/dist-packages/tango/release.py is in python3-tango 9.2.2-1build1.
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 | # ------------------------------------------------------------------------------
# This file is part of PyTango (http://pytango.rtfd.io)
#
# Copyright 2006-2012 CELLS / ALBA Synchrotron, Bellaterra, Spain
# Copyright 2013-2014 European Synchrotron Radiation Facility, Grenoble, France
#
# Distributed under the terms of the GNU Lesser General Public License,
# either version 3 of the License, or (at your option) any later version.
# See LICENSE.txt for more info.
# ------------------------------------------------------------------------------
"""
This is an internal PyTango module.
"""
__all__ = ["Release"]
__docformat__ = "restructuredtext"
class Release:
"""Summarize release information as class attributes.
Release information:
- name: (str) package name
- version_info: (tuple<int,int,int,str,int>) The five components
of the version number: major, minor, micro, releaselevel, and
serial.
- version: (str) package version in format <major>.<minor>.<micro>
- release: (str) pre-release, post-release or development release;
it is empty for final releases.
- version_long: (str) package version in format
<major>.<minor>.<micro><releaselevel><serial>
- version_description: (str) short description for the current
version
- version_number: (int) <major>*100 + <minor>*10 + <micro>
- description : (str) package description
- long_description: (str) longer package description
- authors: (dict<str(last name), tuple<str(full name),str(email)>>)
package authors
- url: (str) package url
- download_url: (str) package download url
- platform: (seq<str>) list of available platforms
- keywords: (seq<str>) list of keywords
- license: (str) the license
"""
name = 'PyTango'
version_info = (9, 2, 2)
version = '.'.join(map(str, version_info[:3]))
release = ''.join(map(str, version_info[3:]))
separator = '.' if 'dev' in release or 'post' in release else ''
version_long = version + separator + release
version_description = 'This version implements the C++ Tango 9.2 API.'
version_number = int(version.replace('.', ''))
description = 'A python binding for the Tango control system'
long_description = 'This module implements the Python Tango Device API ' \
'mapping.'
license = 'LGPL'
authors = {'Coutinho': ('Tiago Coutinho', 'coutinho@esrf.fr')}
author_lines = "\n".join(["%s <%s>" % x for x in authors.values()])
url = 'http://github.com/tango-cs/pytango'
download_url = 'http://pypi.python.org/pypi/pytango'
platform = ['Linux', 'Windows XP/Vista/7/8']
keywords = ['Tango', 'CORBA', 'binding']
|