slackbuilds/python/lockfile
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README various: Kill lots of python3 dep mentions 2021-04-21 00:42:24 -05:00
lockfile.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
lockfile.info python/lockfile: Switch to pypi. 2017-08-12 20:55:25 +07:00
slack-desc python/lockfile: Switch to pypi. 2017-08-12 20:55:25 +07:00

README

The lockfile package exports a LockFile class which provides a simple
API for locking files. 

Unlike the Windows msvcrt.locking function, the fcntl.lockf and flock
functions, and the deprecated posixfile module, the API is identical
across both Unix (including Linux and Mac) and Windows platforms. 

This package is version 0.8 due to some API breakage in 0.9+

To build for Python 3:
    # PYTHON=python3 ./lockfile.SlackBuild