# HG changeset patch # User Franz Glasner # Date 1645900541 -3600 # Node ID 6cec638c995cec835f7dece034ce27f6b8537773 # Parent c3268f4e752f97c643ce8855a2087cbd70f2bd0f Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled diff -r c3268f4e752f -r 6cec638c995c MANIFEST.in --- a/MANIFEST.in Sat Feb 26 19:32:01 2022 +0100 +++ b/MANIFEST.in Sat Feb 26 19:35:41 2022 +0100 @@ -1,2 +1,2 @@ -include .hg* *.txt +include .hg* *.txt *.py global-exclude *.pyc *.pyo diff -r c3268f4e752f -r 6cec638c995c dos2unix.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dos2unix.py Sat Feb 26 19:35:41 2022 +0100 @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +# :- +# :Copyright: (c) 2020-2022 Franz Glasner +# :License: BSD-3-Clause +# :- +r"""Pure Python implementation of `dos2unix` + +""" + +from __future__ import absolute_import + +import sys + +import cutils.dos2unix + + +sys.exit(cutils.dos2unix.main()) diff -r c3268f4e752f -r 6cec638c995c shasum.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/shasum.py Sat Feb 26 19:35:41 2022 +0100 @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +# :- +# :Copyright: (c) 2020-2022 Franz Glasner +# :License: BSD-3-Clause +# :- +r"""Pure Python implementation of `shasum` + +""" + +from __future__ import absolute_import + +import sys + +import cutils.shasum + + +sys.exit(cutils.shasum.main())