/usr/lib/python2.7/dist-packages/setuptools_scm/__main__.py is in python-setuptools-scm 1.15.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 | from __future__ import print_function
import sys
from setuptools_scm import get_version
from setuptools_scm.integration import find_files
from setuptools_scm.version import _warn_if_setuptools_outdated
if __name__ == '__main__':
_warn_if_setuptools_outdated()
print('Guessed Version', get_version())
if 'ls' in sys.argv:
for fname in find_files('.'):
print(fname)
|