]> gitweb.maison.local Git - rome.git/commitdiff
Cleanup : lot of garbage in tmp/ master
authorlionel <lionel@isis.maison.local>
Wed, 14 Sep 2016 15:16:22 +0000 (17:16 +0200)
committerlionel <lionel@isis.maison.local>
Wed, 14 Sep 2016 15:16:22 +0000 (17:16 +0200)
28 files changed:
.gitignore [new file with mode: 0644]
client [deleted file]
key [deleted file]
test.py [deleted file]
tmp/lockfile-0.12.2.tar.gz [deleted file]
tmp/lockfile-0.12.2/ACKS [deleted file]
tmp/lockfile-0.12.2/AUTHORS [deleted file]
tmp/lockfile-0.12.2/ChangeLog [deleted file]
tmp/lockfile-0.12.2/LICENSE [deleted file]
tmp/lockfile-0.12.2/PKG-INFO [deleted file]
tmp/lockfile-0.12.2/README.rst [deleted file]
tmp/lockfile-0.12.2/RELEASE-NOTES [deleted file]
tmp/lockfile-0.12.2/doc/source/Makefile [deleted file]
tmp/lockfile-0.12.2/doc/source/conf.py [deleted file]
tmp/lockfile-0.12.2/doc/source/index.rst [deleted file]
tmp/lockfile-0.12.2/lockfile.egg-info/PKG-INFO [deleted file]
tmp/lockfile-0.12.2/lockfile.egg-info/SOURCES.txt [deleted file]
tmp/lockfile-0.12.2/lockfile.egg-info/dependency_links.txt [deleted file]
tmp/lockfile-0.12.2/lockfile.egg-info/not-zip-safe [deleted file]
tmp/lockfile-0.12.2/lockfile.egg-info/pbr.json [deleted file]
tmp/lockfile-0.12.2/lockfile.egg-info/top_level.txt [deleted file]
tmp/lockfile-0.12.2/setup.cfg [deleted file]
tmp/lockfile-0.12.2/setup.py [deleted file]
tmp/lockfile-0.12.2/test-requirements.txt [deleted file]
tmp/lockfile-0.12.2/test/compliancetest.py [deleted file]
tmp/lockfile-0.12.2/test/test_lockfile.py [deleted file]
tmp/lockfile-0.12.2/tox.ini [deleted file]
tmp/python-daemon-2.1.1.tar.gz [deleted file]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..92e470c
--- /dev/null
@@ -0,0 +1,3 @@
+# Ignore tmp directory
+tmp/
+
diff --git a/client b/client
deleted file mode 100755 (executable)
index e9e342a..0000000
--- a/client
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/python3
-
-import socket
-import os,sys,inspect           # for the following
-cmd_subfolder = os.path.realpath(os.path.abspath(os.path.join(os.path.split(inspect.getfile( inspect.currentframe() ))[0],"modules")))
-if cmd_subfolder not in sys.path:
-  sys.path.insert(0, cmd_subfolder)
-
-from pydes import pyDes     # DES encryption
-
-TCP_IP = '127.0.0.1'
-TCP_PORT = 5005
-BUFFER_SIZE = 1024
-MESSAGE = bytes("HB", 'UTF-8')
-
-k = pyDes.des(b"DEADJACK", pyDes.CBC, b"\2\2\2\2\2\2\2\2", pad=None, padmode=2)
-MESSAGE = k.encrypt(MESSAGE)
-
-s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
-s.connect((TCP_IP, TCP_PORT))
-s.send(MESSAGE)
-data = s.recv(BUFFER_SIZE)
-#data = s.recv(BUFFER_SIZE).decode('UTF-8')
-s.close()
-
-data = k.decrypt(data).decode('UTF-8')
-
-print("sent data:", MESSAGE)
-print("received data:", data)
diff --git a/key b/key
deleted file mode 100755 (executable)
index 9217585..0000000
--- a/key
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/python3
-# -*- coding:Utf-8 -*-
-
-import os,sys,inspect           # for the following
-cmd_subfolder = os.path.realpath(os.path.abspath(os.path.join(os.path.split(inspect.getfile( inspect.currentframe() ))[0],"modules")))
-if cmd_subfolder not in sys.path:
-  sys.path.insert(0, cmd_subfolder)
-
-from pydes import pyDes
-
-data = b"Please encrypt my data"
-k = pyDes.des(b"DEADJACK", pyDes.CBC, b"\2\2\2\2\2\2\2\2", pad=None, padmode=2)
-d = k.encrypt(data)
-print("Encrypted: %r" % d)
-print("Decrypted: %r" % k.decrypt(d))
-assert k.decrypt(d, padmode=2) == data
-
diff --git a/test.py b/test.py
deleted file mode 100755 (executable)
index fa0441b..0000000
--- a/test.py
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/usr/bin/python3
-# -*- coding:Utf-8 -*-
-
-import logging                  # Logs
-import time                     # sleep
-import string                   # split strings
-
-import os,sys,inspect           # for the following
-cmd_subfolder = os.path.realpath(os.path.abspath(os.path.join(os.path.split(inspect.getfile( inspect.currentframe() ))[0],"modules")))
-if cmd_subfolder not in sys.path:
-  sys.path.insert(0, cmd_subfolder)
-
-import lockfile                # daemonization
-from daemon import runner     # daemonization
-
-from multiprocessing import Process
-#import subprocess
-#import shlex
-
-#    logger.debug("Debug message")
-#    logger.info("Info message")
-#    logger.warn("Warning message")
-#    logger.error("Error message")
-
-class App():
-
-  def __init__(self):
-    self.stdin_path = "/dev/null"
-    self.stdout_path = "/home/lionel/work/python/rome/log/stdout.log"
-    self.stderr_path = "/home/lionel/work/python/rome/log/stderr.log"
-    self.pidfile_path = "/home/lionel/work/python/rome/pid/horusd.pid"
-    self.pidfile_timeout = 5
-
-  def run(self):
-# We must put all functions before the 'if __name__ blabla'
-
-    def heartbeat(min):
-      seconds = int(min) * 60
-      while True:
-        logger.info("HB : alive")
-        time.sleep(seconds)
-      return False
-
-
-# All functions definitions took place above
-    if __name__ == '__main__':
-      logger.info("Rome test started")
-
-      '''
-      Launching the heartbeat function
-      '''
-      p = Process(target=heartbeat, args=(2,))
-      p.daemon = True
-      p.start()
-      heartbeat_pid = p.pid
-      logger.info("heartbeat loop launched (pid " + str(heartbeat_pid) + ")")
-
-      '''
-      Entering infinite loop
-      '''
-
-      try:
-        while True:
-            time.sleep(30)
-      except:
-        logger.error("While loop interrupted : aborting")
-        # Faut arrêter les Process ...
-
-# Invocation of the daemon part
-# Means : if it's working : DON'T TOUCH ANYTHING
-if __name__ == "__main__":
-  app = App()
-  logger = logging.getLogger("horusd")
-  loglevel = "debug"
-  if (loglevel=="DEBUG") or (loglevel=="debug"):
-    logger.setLevel(logging.DEBUG)
-  elif (loglevel=="INFO") or (loglevel=="info"):
-    logger.setLevel(logging.INFO)
-  elif (loglevel=="WARN") or (loglevel=="warn"):
-    logger.setLevel(logging.WARN)
-  elif (loglevel=="ERROR") or (loglevel=="error"):
-    logger.setLevel(logging.ERROR)
-  else:
-    logger.setLevel(logging.DEBUG)
-  formatter = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
-  handler = logging.FileHandler("log/horusd.log")
-  handler.setFormatter(formatter)
-  logger.addHandler(handler)
-
-  daemon_runner = runner.DaemonRunner(app)
-  #This ensures that the logger file handle does not get closed during daemonization
-  daemon_runner.daemon_context.files_preserve=[handler.stream]
-  daemon_runner.do_action()
diff --git a/tmp/lockfile-0.12.2.tar.gz b/tmp/lockfile-0.12.2.tar.gz
deleted file mode 100644 (file)
index 8965ed4..0000000
Binary files a/tmp/lockfile-0.12.2.tar.gz and /dev/null differ
diff --git a/tmp/lockfile-0.12.2/ACKS b/tmp/lockfile-0.12.2/ACKS
deleted file mode 100644 (file)
index 44519d1..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-Thanks to the following people for help with lockfile.
-
-  Scott Dial
-  Ben Finney
-  Frank Niessink
-  Konstantin Veretennicov
diff --git a/tmp/lockfile-0.12.2/AUTHORS b/tmp/lockfile-0.12.2/AUTHORS
deleted file mode 100644 (file)
index 690325f..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-(no author) <(no author)>
-ChangBo Guo(gcb) <eric.guo@easystack.cn>
-Davanum Srinivas <davanum@gmail.com>
-Doug Hellmann <doug@doughellmann.com>
-Elmo Todurov <elmo.todurov@skype.net>
-Joshua Harlow <harlowja@yahoo-inc.com>
-Julien Danjou <julien@danjou.info>
-Skip Montanaro <skip@pobox.com>
-Thomas Grainger <tagrain@gmail.com>
-Thomas Grainger <tom@yplanapp.com>
-Victor Stinner <vstinner@redhat.com>
-skip.montanaro <skip.montanaro@gmail.com>
diff --git a/tmp/lockfile-0.12.2/ChangeLog b/tmp/lockfile-0.12.2/ChangeLog
deleted file mode 100644 (file)
index 2d4aeb9..0000000
+++ /dev/null
@@ -1,193 +0,0 @@
-CHANGES
-=======
-
-0.12.2
-------
-
-* Add warning to README.rst
-
-0.12.1
-------
-
-* Remove Python 2.6 classifier
-* Remove python 2.6
-* Remove two unused variables: fix flake8 F841 warn
-* Fix flake8 warnings
-* PBR setup requirement only
-* Support universal wheels
-
-0.11.0
-------
-
-* Add deprecated warnings to index.rst
-* Fix PIDLockFile.acquire() may loop indefinitely
-* Fix failure - from lockfile import *
-* lockfile.acquire doesn't accept a timeout of 0
-* Update README format for our release script
-* Begin moving some of the common code to a shared base
-* Add pbr to dependency list
-* The version of sphinx being brought in is broken
-* Fix Git URLs
-
-0.10.2
-------
-
-* Fix package name
-
-0.10.1
-------
-
-* Add missing cover env in tox
-
-0.10.0
-------
-
-* Fix documentation bug report address
-* Add py34 in tox
-* Remove old diff file
-* Add .gitreview, tox targets and use pbr
-* fix for timeout=0
-* remove 2.5, 3.1 and 3.4 from the list for the time being - may get added back later
-* Bugfix: locking two different files in the same directory caused an error during unlocking the last unlocking
-* typo
-
-0.9.1
------
-
-* ignore dist dir
-* update to python 3 imports
-* python 3 tweaks
-* python 3 tweaks
-* ignore Emacs backups
-* note nose as a dependency
-* remove this test file - way incompatible with current code
-* stuff to ignore
-* Add py33, py34, delete py24, py25
-* Update source location
-* merge delete
-* merge delete
-* more merge stuff
-* this didn't come across with svn merge
-* all screwed up now
-* merge
-* merge
-* Make it clear that the path and threaded attributes to SymlinkLockFile and MkdirLockFile have the same constraints as for LinkLockFile. In particular, the directory which will contain path must be writable
-* add pidlockfile test stuff from Ben Finney - still a few problems - maybe I can get him to solve them :-)
-* ignore Sphinx build directory
-* Catch up on a little documentation
-* adapt decorator patch from issue 5
-* Allow timeout in constructor - resolves issue 3
-* add info to raise statements - from issue 6, yyurevich@jellycrystal.com
-* add useful repr() - from issue 6, yyurevich@jellycrystal.com
-* add symlinklockfile module
-* + py24
-* good for the branch? must be good for the trunk
-* add tox stuff, ignore dist dir
-* new version, move to Google Code
-* 
-* 
-* * Thread support is currently broken. This is more likely because of problems in this module, but suppress those tests for now just the same
-* By the nature of what it's trying to do PIDLockFile doesn't support threaded operation
-* defer creating testdb until we've instantiated a SQLiteLockFile instance
-* tweak unique_name slightly
-* Specify mode in octal
-* update to match pidlockfile change
-* missing import
-* I think I finally have this correct
-* patch pidlockfile module too
-* use abs import here as well
-* *argh*
-* Update to elide new import syntax
-* * Move future import for division where it's used. * Use __absolute_import__ to spell relative imports
-* Some PIDLockFile tests are failing. Check in anyway so others can consider the problems
-* Account for fact that Thread objects in Python 2.4 and earlier do not have an ident attribute
-* Make this a daemon thread so if things go awry the test run won't hang
-* * Add pidlockfile (not quite working properly) * Rearrange MANIFEST.in slightly to include test directory
-* Split those test methods which try both threaded and non-threaded naming schemes. More to do. Obviously you need to have test cases when using the non-threaded naming scheme from multiple threads
-* acknowledge Ben and Frank, alphabetize list
-* I don't think these are needed any longer - they came back during the hg->svn conversion
-* grand renaming: "filelock" -> "lockfile" & "FileLock" -> "LockFile"
-* Update for packages
-* Avoid using the backwards compatibility functions for FileLock. That object is not deprecated
-* how does the test dir keep sneaking into MANIFEST? also, include 2.4.diff in dist
-* update for new structure, use of ident attr
-* adjust build setup
-* move test helpers into test dir
-* first cut at packagized lockfile
-* Protect some more complex locking stuff so if they fail we don't deadlock
-* merge r75 from head
-* * One implementation of tname, not two - make it an instance attribute as a result
-* beginnings of a packagized lockfile
-* get the structure right
-* start over with the branches..
-* hmmm
-* hmmm
-* get us back to lockfile 0.8
-* r72 from hg
-* r70 from hg
-* r69 from hg
-* r68 from hg
-* r67 from hg
-* r66 from hg
-* r65 from hg
-* r64 from hg
-* r64 from hg
-* r63 from hg
-* r62 from hg
-* r61 from hg
-* r60 from hg
-* r59 from hg
-* r58 from hg
-* r57 from hg
-* r56 from hg
-* r55 from hg
-* r54 from hg
-* r53 from hg
-* r52 from hg
-* r51 from hg
-* r50 from hg
-* r49 from hg
-* r47 from hg
-* r46 from hg
-* r45 from hg
-* r44 from hg
-* r43 from hg
-* r42 from hg
-* r41 from hg
-* r38 from hg
-* r37 from hg
-* r36 from hg
-* r35 from hg
-* r34 from hg
-* r33 from hg
-* r32 from hg
-* r31 from hg
-* r29 from hg
-* r28 from hg
-* r27 from hg
-* r26 from hg
-* r25 from hg
-* r24 from hg
-* r23 from hg
-* r22 from hg
-* r21 from hg
-* r20 from hg
-* r19 from hg
-* r18 from hg
-* r16 from hg
-* r14 from hg
-* r13 from hg
-* r12 from hg
-* r11 from hg
-* r10 from hg
-* r9 from hg
-* r8 from hg
-* r7 from hg
-* r6 from hg
-* r5 from hg
-* r4 from hg
-* r3 from hg
-* r2 from hg
-* r1 from hg
-* r0 from hg
-* Initial directory structure
diff --git a/tmp/lockfile-0.12.2/LICENSE b/tmp/lockfile-0.12.2/LICENSE
deleted file mode 100644 (file)
index 610c079..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-This is the MIT license: http://www.opensource.org/licenses/mit-license.php
-
-Copyright (c) 2007 Skip Montanaro.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
diff --git a/tmp/lockfile-0.12.2/PKG-INFO b/tmp/lockfile-0.12.2/PKG-INFO
deleted file mode 100644 (file)
index d348d5d..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-Metadata-Version: 1.1
-Name: lockfile
-Version: 0.12.2
-Summary: Platform-independent file locking module
-Home-page: http://launchpad.net/pylockfile
-Author: OpenStack
-Author-email: openstack-dev@lists.openstack.org
-License: UNKNOWN
-Description: Note: This package is **deprecated**. It is highly preferred that instead of
-        using this code base that instead `fasteners`_ or `oslo.concurrency`_ is
-        used instead. For any questions or comments or further help needed
-        please email `openstack-dev`_ and prefix your email subject
-        with ``[oslo][pylockfile]`` (for a faster response).
-        
-        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.
-        The lock mechanism relies on the atomic nature of the link (on Unix) and
-        mkdir (on Windows) system calls.  An implementation based on SQLite is also
-        provided, more as a demonstration of the possibilities it provides than as
-        production-quality code.
-        
-        Note: In version 0.9 the API changed in two significant ways:
-        
-         * It changed from a module defining several classes to a package containing
-           several modules, each defining a single class.
-        
-         * Where classes had been named SomethingFileLock before the last two words
-           have been reversed, so that class is now SomethingLockFile.
-        
-        The previous module-level definitions of LinkFileLock, MkdirFileLock and
-        SQLiteFileLock will be retained until the 1.0 release.
-        
-        To install:
-        
-            python setup.py install
-        
-        * Documentation: http://docs.openstack.org/developer/pylockfile
-        * Source: http://git.openstack.org/cgit/openstack/pylockfile
-        * Bugs: http://bugs.launchpad.net/pylockfile
-        
-        
-Platform: UNKNOWN
-Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: MIT License
-Classifier: Operating System :: POSIX :: Linux
-Classifier: Operating System :: MacOS
-Classifier: Operating System :: Microsoft :: Windows :: Windows NT/2000
-Classifier: Operating System :: POSIX
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff --git a/tmp/lockfile-0.12.2/README.rst b/tmp/lockfile-0.12.2/README.rst
deleted file mode 100644 (file)
index a439f10..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-Note: This package is **deprecated**. It is highly preferred that instead of
-using this code base that instead `fasteners`_ or `oslo.concurrency`_ is
-used instead. For any questions or comments or further help needed
-please email `openstack-dev`_ and prefix your email subject
-with ``[oslo][pylockfile]`` (for a faster response).
-
-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.
-The lock mechanism relies on the atomic nature of the link (on Unix) and
-mkdir (on Windows) system calls.  An implementation based on SQLite is also
-provided, more as a demonstration of the possibilities it provides than as
-production-quality code.
-
-Note: In version 0.9 the API changed in two significant ways:
-
- * It changed from a module defining several classes to a package containing
-   several modules, each defining a single class.
-
- * Where classes had been named SomethingFileLock before the last two words
-   have been reversed, so that class is now SomethingLockFile.
-
-The previous module-level definitions of LinkFileLock, MkdirFileLock and
-SQLiteFileLock will be retained until the 1.0 release.
-
-To install:
-
-    python setup.py install
-
-* Documentation: http://docs.openstack.org/developer/pylockfile
-* Source: http://git.openstack.org/cgit/openstack/pylockfile
-* Bugs: http://bugs.launchpad.net/pylockfile
diff --git a/tmp/lockfile-0.12.2/RELEASE-NOTES b/tmp/lockfile-0.12.2/RELEASE-NOTES
deleted file mode 100644 (file)
index 8b452ed..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-Version 0.9.1
-=============
-
-* This release moves the source location to Google Code.
-
-* Threaded support is currently broken.  (It might not actually be broken.
-  It might just be the tests which are broken.)
-
-Version 0.9
-===========
-
-* The lockfile module was reorganized into a package.
-
-* The names of the three main classes have changed as follows:
-
-    LinkFileLock -> LinkLockFile
-    MkdirFileLock -> MkdirLockFile
-    SQLiteFileLock -> SQLiteLockFile
-
-* A PIDLockFile class was added.
-
-Version 0.3
-===========
-
-* Fix 2.4.diff file error.
-
-* More documentation updates.
-
-Version 0.2
-===========
-
-* Added 2.4.diff file to patch lockfile to work with Python 2.4 (removes use
-  of with statement).
-
-* Renamed _FileLock base class to LockBase to expose it (and its docstrings)
-  to pydoc.
-
-* Got rid of time.sleep() calls in tests (thanks to Konstantin
-  Veretennicov).
-
-* Use thread.get_ident() as the thread discriminator.
-
-* Updated documentation a bit.
-
-* Added RELEASE-NOTES.
-
-Version 0.1
-===========
-
-* First release - All basic functionality there.
diff --git a/tmp/lockfile-0.12.2/doc/source/Makefile b/tmp/lockfile-0.12.2/doc/source/Makefile
deleted file mode 100644 (file)
index 1b1e8d2..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-# Makefile for Sphinx documentation
-#
-
-# You can set these variables from the command line.
-SPHINXOPTS    =
-SPHINXBUILD   = sphinx-build
-PAPER         =
-
-# Internal variables.
-PAPEROPT_a4     = -D latex_paper_size=a4
-PAPEROPT_letter = -D latex_paper_size=letter
-ALLSPHINXOPTS   = -d .build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
-
-.PHONY: help clean html web pickle htmlhelp latex changes linkcheck
-
-help:
-       @echo "Please use \`make <target>' where <target> is one of"
-       @echo "  html      to make standalone HTML files"
-       @echo "  pickle    to make pickle files (usable by e.g. sphinx-web)"
-       @echo "  htmlhelp  to make HTML files and a HTML help project"
-       @echo "  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
-       @echo "  changes   to make an overview over all changed/added/deprecated items"
-       @echo "  linkcheck to check all external links for integrity"
-
-clean:
-       -rm -rf .build/*
-
-html:
-       mkdir -p .build/html .build/doctrees
-       $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) .build/html
-       @echo
-       @echo "Build finished. The HTML pages are in .build/html."
-
-pickle:
-       mkdir -p .build/pickle .build/doctrees
-       $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) .build/pickle
-       @echo
-       @echo "Build finished; now you can process the pickle files or run"
-       @echo "  sphinx-web .build/pickle"
-       @echo "to start the sphinx-web server."
-
-web: pickle
-
-htmlhelp:
-       mkdir -p .build/htmlhelp .build/doctrees
-       $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) .build/htmlhelp
-       @echo
-       @echo "Build finished; now you can run HTML Help Workshop with the" \
-             ".hhp project file in .build/htmlhelp."
-
-latex:
-       mkdir -p .build/latex .build/doctrees
-       $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) .build/latex
-       @echo
-       @echo "Build finished; the LaTeX files are in .build/latex."
-       @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
-             "run these through (pdf)latex."
-
-changes:
-       mkdir -p .build/changes .build/doctrees
-       $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) .build/changes
-       @echo
-       @echo "The overview file is in .build/changes."
-
-linkcheck:
-       mkdir -p .build/linkcheck .build/doctrees
-       $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) .build/linkcheck
-       @echo
-       @echo "Link check complete; look for any errors in the above output " \
-             "or in .build/linkcheck/output.txt."
-
-html.zip: html
-       (cd .build/html ; zip -r ../../$@ *)
diff --git a/tmp/lockfile-0.12.2/doc/source/conf.py b/tmp/lockfile-0.12.2/doc/source/conf.py
deleted file mode 100644 (file)
index 623edcb..0000000
+++ /dev/null
@@ -1,179 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# lockfile documentation build configuration file, created by
-# sphinx-quickstart on Sat Sep 13 17:54:17 2008.
-#
-# This file is execfile()d with the current directory set to its containing dir.
-#
-# The contents of this file are pickled, so don't put values in the namespace
-# that aren't pickleable (module imports are okay, they're removed automatically).
-#
-# All configuration values have a default value; values that are commented out
-# serve to show the default value.
-
-import sys, os
-
-# If your extensions are in another directory, add it here. If the directory
-# is relative to the documentation root, use os.path.abspath to make it
-# absolute, like shown here.
-#sys.path.append(os.path.abspath('some/directory'))
-
-# General configuration
-# ---------------------
-
-# Add any Sphinx extension module names here, as strings. They can be extensions
-# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = []
-
-# Add any paths that contain templates here, relative to this directory.
-templates_path = ['.templates']
-
-# The suffix of source filenames.
-source_suffix = '.rst'
-
-# The master toctree document.
-master_doc = 'index'
-
-# General substitutions.
-project = 'lockfile'
-copyright = '2008, Skip Montanaro'
-
-# The default replacements for |version| and |release|, also used in various
-# other places throughout the built documents.
-#
-# The short X.Y version.
-version = '0.3'
-# The full version, including alpha/beta/rc tags.
-release = '0.3'
-
-# There are two options for replacing |today|: either, you set today to some
-# non-false value, then it is used:
-#today = ''
-# Else, today_fmt is used as the format for a strftime call.
-today_fmt = '%B %d, %Y'
-
-# List of documents that shouldn't be included in the build.
-#unused_docs = []
-
-# List of directories, relative to source directories, that shouldn't be searched
-# for source files.
-#exclude_dirs = []
-
-# The reST default role (used for this markup: `text`) to use for all documents.
-#default_role = None
-
-# If true, '()' will be appended to :func: etc. cross-reference text.
-#add_function_parentheses = True
-
-# If true, the current module name will be prepended to all description
-# unit titles (such as .. function::).
-#add_module_names = True
-
-# If true, sectionauthor and moduleauthor directives will be shown in the
-# output. They are ignored by default.
-#show_authors = False
-
-# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = 'sphinx'
-
-
-# Options for HTML output
-# -----------------------
-
-# The style sheet to use for HTML and HTML Help pages. A file of that name
-# must exist either in Sphinx' static/ path, or in one of the custom paths
-# given in html_static_path.
-html_style = 'default.css'
-
-# The name for this set of Sphinx documents.  If None, it defaults to
-# "<project> v<release> documentation".
-#html_title = None
-
-# A shorter title for the navigation bar.  Default is the same as html_title.
-#html_short_title = None
-
-# The name of an image file (within the static path) to place at the top of
-# the sidebar.
-#html_logo = None
-
-# The name of an image file (within the static path) to use as favicon of the
-# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
-# pixels large.
-#html_favicon = None
-
-# Add any paths that contain custom static files (such as style sheets) here,
-# relative to this directory. They are copied after the builtin static files,
-# so a file named "default.css" will overwrite the builtin "default.css".
-#html_static_path = ['.static']
-
-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
-# using the given strftime format.
-html_last_updated_fmt = '%b %d, %Y'
-
-# If true, SmartyPants will be used to convert quotes and dashes to
-# typographically correct entities.
-#html_use_smartypants = True
-
-# Custom sidebar templates, maps document names to template names.
-#html_sidebars = {}
-
-# Additional templates that should be rendered to pages, maps page names to
-# template names.
-#html_additional_pages = {}
-
-# If false, no module index is generated.
-#html_use_modindex = True
-
-# If false, no index is generated.
-#html_use_index = True
-
-# If true, the index is split into individual pages for each letter.
-#html_split_index = False
-
-# If true, the reST sources are included in the HTML build as _sources/<name>.
-#html_copy_source = True
-
-# If true, an OpenSearch description file will be output, and all pages will
-# contain a <link> tag referring to it.  The value of this option must be the
-# base URL from which the finished HTML is served.
-#html_use_opensearch = ''
-
-# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
-#html_file_suffix = ''
-
-# Output file base name for HTML help builder.
-htmlhelp_basename = 'lockfiledoc'
-
-
-# Options for LaTeX output
-# ------------------------
-
-# The paper size ('letter' or 'a4').
-#latex_paper_size = 'letter'
-
-# The font size ('10pt', '11pt' or '12pt').
-#latex_font_size = '10pt'
-
-# Grouping the document tree into LaTeX files. List of tuples
-# (source start file, target name, title, author, document class [howto/manual]).
-latex_documents = [
-  ('lockfile', 'lockfile.tex', 'lockfile Documentation',
-   'Skip Montanaro', 'manual'),
-]
-
-# The name of an image file (relative to this directory) to place at the top of
-# the title page.
-#latex_logo = None
-
-# For "manual" documents, if this is true, then toplevel headings are parts,
-# not chapters.
-#latex_use_parts = False
-
-# Additional stuff for the LaTeX preamble.
-#latex_preamble = ''
-
-# Documents to append as an appendix to all manuals.
-#latex_appendices = []
-
-# If false, no module index is generated.
-#latex_use_modindex = True
diff --git a/tmp/lockfile-0.12.2/doc/source/index.rst b/tmp/lockfile-0.12.2/doc/source/index.rst
deleted file mode 100644 (file)
index 5f1f2dd..0000000
+++ /dev/null
@@ -1,287 +0,0 @@
-
-:mod:`lockfile` --- Platform-independent file locking
-=====================================================
-
-.. module:: lockfile
-   :synopsis: Platform-independent file locking
-.. moduleauthor:: Skip Montanaro <skip@pobox.com>
-.. sectionauthor:: Skip Montanaro <skip@pobox.com>
-
-.. warning::
-
-   This package is **deprecated**. It is highly preferred that instead of
-   using this code base that instead `fasteners`_ or `oslo.concurrency`_ is
-   used instead. For any questions or comments or further help needed
-   please email `openstack-dev`_ and prefix your email subject
-   with ``[oslo][pylockfile]`` (for a faster response).
-
-.. note::
-
-   This package is pre-release software.  Between versions 0.8 and 0.9 it
-   was changed from a module to a package.  It is quite possible that the
-   API and implementation will change again in important ways as people test
-   it and provide feedback and bug fixes.  In particular, if the mkdir-based
-   locking scheme is sufficient for both Windows and Unix platforms, the
-   link-based scheme may be deleted so that only a single locking scheme is
-   used, providing cross-platform lockfile cooperation.
-
-.. note::
-
-   The implementation uses the `with` statement, both in the tests and in the
-   main code, so will only work out-of-the-box with Python 2.5 or later.
-   However, the use of the `with` statement is minimal, so if you apply the
-   patch in the included 2.4.diff file you can use it with Python 2.4. It's
-   possible that it will work in Python 2.3 with that patch applied as well,
-   though the doctest code relies on APIs new in 2.4, so will have to be
-   rewritten somewhat to allow testing on 2.3. As they say, patches welcome.
-   ``;-)``
-
-The :mod:`lockfile` package exports a :class:`LockFile` class which provides
-a simple API for locking files.  Unlike the Windows :func:`msvcrt.locking`
-function, the Unix :func:`fcntl.flock`, :func:`fcntl.lockf` and the
-deprecated :mod:`posixfile` module, the API is identical across both Unix
-(including Linux and Mac) and Windows platforms.  The lock mechanism relies
-on the atomic nature of the :func:`link` (on Unix) and :func:`mkdir` (On
-Windows) system calls.  It also contains several lock-method-specific
-modules: :mod:`lockfile.linklockfile`, :mod:`lockfile.mkdirlockfile`, and
-:mod:`lockfile.sqlitelockfile`, each one exporting a single class.  For
-backwards compatibility with versions before 0.9 the :class:`LinkFileLock`,
-:class:`MkdirFileLock` and :class:`SQLiteFileLock` objects are exposed as
-attributes of the top-level lockfile package, though this use was deprecated
-starting with version 0.9 and will be removed in version 1.0.
-
-.. note::
-
-   The current implementation uses :func:`os.link` on Unix, but since that
-   function is unavailable on Windows it uses :func:`os.mkdir` there.  At
-   this point it's not clear that using the :func:`os.mkdir` method would be
-   insufficient on Unix systems.  If it proves to be adequate on Unix then
-   the implementation could be simplified and truly cross-platform locking
-   would be possible.
-
-.. note::
-
-   The current implementation doesn't provide for shared vs. exclusive
-   locks.  It should be possible for multiple reader processes to hold the
-   lock at the same time.
-
-The module defines the following exceptions:
-
-.. exception:: Error
-
-   This is the base class for all exceptions raised by the :class:`LockFile`
-   class.
-
-.. exception:: LockError
-
-   This is the base class for all exceptions raised when attempting to lock
-   a file.
-
-.. exception:: UnlockError
-
-   This is the base class for all exceptions raised when attempting to
-   unlock a file.
-
-.. exception:: LockTimeout
-
-   This exception is raised if the :func:`LockFile.acquire` method is
-   called with a timeout which expires before an existing lock is released.
-
-.. exception:: AlreadyLocked
-
-   This exception is raised if the :func:`LockFile.acquire` detects a
-   file is already locked when in non-blocking mode.
-
-.. exception:: LockFailed
-
-   This exception is raised if the :func:`LockFile.acquire` detects some
-   other condition (such as a non-writable directory) which prevents it from
-   creating its lock file.
-
-.. exception:: NotLocked
-
-   This exception is raised if the file is not locked when
-   :func:`LockFile.release` is called.
-
-.. exception:: NotMyLock
-
-   This exception is raised if the file is locked by another thread or
-   process when :func:`LockFile.release` is called.
-
-The following classes are provided:
-
-.. class:: linklockfile.LinkLockFile(path, threaded=True)
-
-   This class uses the :func:`link(2)` system call as the basic lock
-   mechanism.  *path* is an object in the file system to be locked.  It need
-   not exist, but its directory must exist and be writable at the time the
-   :func:`acquire` and :func:`release` methods are called.  *threaded* is
-   optional, but when set to :const:`True` locks will be distinguished
-   between threads in the same process.
-
-.. class:: symlinklockfile.SymlinkLockFile(path, threaded=True)
-
-   This class uses the :func:`symlink(2)` system call as the basic lock
-   mechanism.  The parameters have the same meaning and constraints as for
-   the :class:`LinkLockFile` class.
-
-.. class:: mkdirlockfile.MkdirLockFile(path, threaded=True)
-
-   This class uses the :func:`mkdir(2)` system call as the basic lock
-   mechanism.  The parameters have the same meaning and constraints as for
-   the :class:`LinkLockFile` class.
-
-.. class:: sqlitelockfile.SQLiteLockFile(path, threaded=True)
-
-   This class uses the :mod:`sqlite3` module to implement the lock
-   mechanism.  The parameters have the same meaning as for the
-   :class:`LinkLockFile` class.
-
-.. class:: LockBase(path, threaded=True)
-
-   This is the base class for all concrete implementations and is available
-   at the lockfile package level so programmers can implement other locking
-   schemes.
-
-.. function:: locked(path, timeout=None)
-
-   This function provides a decorator which insures the decorated function
-   is always called with the lock held.
-
-By default, the :const:`LockFile` object refers to the
-:class:`mkdirlockfile.MkdirLockFile` class on Windows.  On all other
-platforms it refers to the :class:`linklockfile.LinkLockFile` class.
-
-When locking a file the :class:`linklockfile.LinkLockFile` class creates a
-uniquely named hard link to an empty lock file.  That hard link contains the
-hostname, process id, and if locks between threads are distinguished, the
-thread identifier.  For example, if you want to lock access to a file named
-"README", the lock file is named "README.lock".  With per-thread locks
-enabled the hard link is named HOSTNAME-THREADID-PID.  With only per-process
-locks enabled the hard link is named HOSTNAME--PID.
-
-When using the :class:`mkdirlockfile.MkdirLockFile` class the lock file is a
-directory.  Referring to the example above, README.lock will be a directory
-and HOSTNAME-THREADID-PID will be an empty file within that directory.
-
-.. seealso::
-
-   Module :mod:`msvcrt`
-      Provides the :func:`locking` function, the standard Windows way of
-      locking (parts of) a file.
-
-   Module :mod:`posixfile`
-      The deprecated (since Python 1.5) way of locking files on Posix systems.
-
-   Module :mod:`fcntl`
-      Provides the current best way to lock files on Unix systems
-      (:func:`lockf` and :func:`flock`).
-
-LockFile Objects
-----------------
-
-:class:`LockFile` objects support the `context manager` protocol used by the
-statement:`with` statement. The timeout option is not supported when used in
-this fashion. While support for timeouts could be implemented, there is no
-support for handling the eventual :exc:`Timeout` exceptions raised by the
-:func:`__enter__` method, so you would have to protect the `with` statement with
-a `try` statement. The resulting construct would not be any simpler than just
-using a `try` statement in the first place.
-
-:class:`LockFile` has the following user-visible methods:
-
-.. method:: LockFile.acquire(timeout=None)
-
-   Lock the file associated with the :class:`LockFile` object.  If the
-   *timeout* is omitted or :const:`None` the caller will block until the
-   file is unlocked by the object currently holding the lock.  If the
-   *timeout* is zero or a negative number the :exc:`AlreadyLocked` exception
-   will be raised if the file is currently locked by another process or
-   thread.  If the *timeout* is positive, the caller will block for that
-   many seconds waiting for the lock to be released.  If the lock is not
-   released within that period the :exc:`LockTimeout` exception will be
-   raised.
-
-.. method:: LockFile.release()
-
-   Unlock the file associated with the :class:`LockFile` object.  If the
-   file is not currently locked, the :exc:`NotLocked` exception is raised.
-   If the file is locked by another thread or process the :exc:`NotMyLock`
-   exception is raised.
-
-.. method:: is_locked()
-
-   Return the status of the lock on the current file.  If any process or
-   thread (including the current one) is locking the file, :const:`True` is
-   returned, otherwise :const:`False` is returned.
-
-.. method:: break_lock()
-
-   If the file is currently locked, break it.
-
-.. method:: i_am_locking()
-
-   Returns true if the caller holds the lock.
-
-Examples
---------
-
-This example is the "hello world" for the :mod:`lockfile` package::
-
-    from lockfile import LockFile
-    lock = LockFile("/some/file/or/other")
-    with lock:
-        print lock.path, 'is locked.'
-
-To use this with Python 2.4, you can execute::
-
-    from lockfile import LockFile
-    lock = LockFile("/some/file/or/other")
-    lock.acquire()
-    print lock.path, 'is locked.'
-    lock.release()
-
-If you don't want to wait forever, you might try::
-
-    from lockfile import LockFile
-    lock = LockFile("/some/file/or/other")
-    while not lock.i_am_locking():
-       try:
-           lock.acquire(timeout=60)    # wait up to 60 seconds
-       except LockTimeout:
-           lock.break_lock()
-           lock.acquire()
-    print "I locked", lock.path
-    lock.release()
-
-You can also insure that a lock is always held when appropriately decorated
-functions are called::
-
-    from lockfile import locked
-    @locked("/tmp/mylock")
-    def func(a, b):
-        return a + b
-
-Other Libraries
----------------
-
-The idea of implementing advisory locking with a standard API is not new
-with :mod:`lockfile`.  There are a number of other libraries available:
-
-* locknix - http://pypi.python.org/pypi/locknix - Unix only
-* mx.MiscLockFile - from Marc André Lemburg, part of the mx.Base
-  distribution - cross-platform.
-* Twisted - http://twistedmatrix.com/trac/browser/trunk/twisted/python/lockfile.py
-* zc.lockfile - http://pypi.python.org/pypi/zc.lockfile
-
-
-Contacting the Author
----------------------
-
-If you encounter any problems with ``lockfile``, would like help or want to
-submit a patch, check http://launchpad.net/pylockfile
-
-
-.. _fasteners: http://fasteners.readthedocs.org/
-.. _openstack-dev: mailto:openstack-dev@lists.openstack.org
-.. _oslo.concurrency: http://docs.openstack.org/developer/oslo.concurrency/
diff --git a/tmp/lockfile-0.12.2/lockfile.egg-info/PKG-INFO b/tmp/lockfile-0.12.2/lockfile.egg-info/PKG-INFO
deleted file mode 100644 (file)
index d348d5d..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-Metadata-Version: 1.1
-Name: lockfile
-Version: 0.12.2
-Summary: Platform-independent file locking module
-Home-page: http://launchpad.net/pylockfile
-Author: OpenStack
-Author-email: openstack-dev@lists.openstack.org
-License: UNKNOWN
-Description: Note: This package is **deprecated**. It is highly preferred that instead of
-        using this code base that instead `fasteners`_ or `oslo.concurrency`_ is
-        used instead. For any questions or comments or further help needed
-        please email `openstack-dev`_ and prefix your email subject
-        with ``[oslo][pylockfile]`` (for a faster response).
-        
-        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.
-        The lock mechanism relies on the atomic nature of the link (on Unix) and
-        mkdir (on Windows) system calls.  An implementation based on SQLite is also
-        provided, more as a demonstration of the possibilities it provides than as
-        production-quality code.
-        
-        Note: In version 0.9 the API changed in two significant ways:
-        
-         * It changed from a module defining several classes to a package containing
-           several modules, each defining a single class.
-        
-         * Where classes had been named SomethingFileLock before the last two words
-           have been reversed, so that class is now SomethingLockFile.
-        
-        The previous module-level definitions of LinkFileLock, MkdirFileLock and
-        SQLiteFileLock will be retained until the 1.0 release.
-        
-        To install:
-        
-            python setup.py install
-        
-        * Documentation: http://docs.openstack.org/developer/pylockfile
-        * Source: http://git.openstack.org/cgit/openstack/pylockfile
-        * Bugs: http://bugs.launchpad.net/pylockfile
-        
-        
-Platform: UNKNOWN
-Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: MIT License
-Classifier: Operating System :: POSIX :: Linux
-Classifier: Operating System :: MacOS
-Classifier: Operating System :: Microsoft :: Windows :: Windows NT/2000
-Classifier: Operating System :: POSIX
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff --git a/tmp/lockfile-0.12.2/lockfile.egg-info/SOURCES.txt b/tmp/lockfile-0.12.2/lockfile.egg-info/SOURCES.txt
deleted file mode 100644 (file)
index 72948af..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-ACKS
-AUTHORS
-ChangeLog
-LICENSE
-README.rst
-RELEASE-NOTES
-setup.cfg
-setup.py
-test-requirements.txt
-tox.ini
-doc/source/Makefile
-doc/source/conf.py
-doc/source/index.rst
-lockfile/__init__.py
-lockfile/linklockfile.py
-lockfile/mkdirlockfile.py
-lockfile/pidlockfile.py
-lockfile/sqlitelockfile.py
-lockfile/symlinklockfile.py
-lockfile.egg-info/PKG-INFO
-lockfile.egg-info/SOURCES.txt
-lockfile.egg-info/dependency_links.txt
-lockfile.egg-info/not-zip-safe
-lockfile.egg-info/pbr.json
-lockfile.egg-info/top_level.txt
-test/compliancetest.py
-test/test_lockfile.py
\ No newline at end of file
diff --git a/tmp/lockfile-0.12.2/lockfile.egg-info/dependency_links.txt b/tmp/lockfile-0.12.2/lockfile.egg-info/dependency_links.txt
deleted file mode 100644 (file)
index 8b13789..0000000
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/tmp/lockfile-0.12.2/lockfile.egg-info/not-zip-safe b/tmp/lockfile-0.12.2/lockfile.egg-info/not-zip-safe
deleted file mode 100644 (file)
index 8b13789..0000000
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/tmp/lockfile-0.12.2/lockfile.egg-info/pbr.json b/tmp/lockfile-0.12.2/lockfile.egg-info/pbr.json
deleted file mode 100644 (file)
index 56252f0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-{"git_version": "c8798ce", "is_release": true}
\ No newline at end of file
diff --git a/tmp/lockfile-0.12.2/lockfile.egg-info/top_level.txt b/tmp/lockfile-0.12.2/lockfile.egg-info/top_level.txt
deleted file mode 100644 (file)
index 5a13159..0000000
+++ /dev/null
@@ -1 +0,0 @@
-lockfile
diff --git a/tmp/lockfile-0.12.2/setup.cfg b/tmp/lockfile-0.12.2/setup.cfg
deleted file mode 100644 (file)
index e51b5c1..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-[metadata]
-name = lockfile
-summary = Platform-independent file locking module
-description-file = 
-       README.rst
-author = OpenStack
-author-email = openstack-dev@lists.openstack.org
-home-page = http://launchpad.net/pylockfile
-classifier = 
-       Intended Audience :: Developers
-       License :: OSI Approved :: MIT License
-       Operating System :: POSIX :: Linux
-       Operating System :: MacOS
-       Operating System :: Microsoft :: Windows :: Windows NT/2000
-       Operating System :: POSIX
-       Programming Language :: Python
-       Programming Language :: Python :: 2
-       Programming Language :: Python :: 2.7
-       Programming Language :: Python :: 3
-       Programming Language :: Python :: 3.3
-       Topic :: Software Development :: Libraries :: Python Modules
-
-[files]
-packages = lockfile
-
-[pbr]
-warnerrors = true
-
-[build_sphinx]
-source-dir = doc/source
-build-dir = doc/build
-all_files = 1
-
-[bdist_wheel]
-universal = 1
-
-[egg_info]
-tag_date = 0
-tag_svn_revision = 0
-tag_build = 
-
diff --git a/tmp/lockfile-0.12.2/setup.py b/tmp/lockfile-0.12.2/setup.py
deleted file mode 100644 (file)
index 782bb21..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
-import setuptools
-
-# In python < 2.7.4, a lazy loading of package `pbr` will break
-# setuptools if some other modules registered functions in `atexit`.
-# solution from: http://bugs.python.org/issue15881#msg170215
-try:
-    import multiprocessing  # noqa
-except ImportError:
-    pass
-
-setuptools.setup(
-    setup_requires=['pbr>=1.8'],
-    pbr=True)
diff --git a/tmp/lockfile-0.12.2/test-requirements.txt b/tmp/lockfile-0.12.2/test-requirements.txt
deleted file mode 100644 (file)
index 446a41f..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# The order of packages is significant, because pip processes them in the order
-# of appearance. Changing the order has an impact on the overall integration
-# process, which may cause wedges in the gate later.
-nose
-sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
diff --git a/tmp/lockfile-0.12.2/test/compliancetest.py b/tmp/lockfile-0.12.2/test/compliancetest.py
deleted file mode 100644 (file)
index bf4e59c..0000000
+++ /dev/null
@@ -1,262 +0,0 @@
-import os
-import threading
-import shutil
-
-import lockfile
-
-
-class ComplianceTest(object):
-    def __init__(self):
-        self.saved_class = lockfile.LockFile
-
-    def _testfile(self):
-        """Return platform-appropriate file.  Helper for tests."""
-        import tempfile
-        return os.path.join(tempfile.gettempdir(), 'trash-%s' % os.getpid())
-
-    def setup(self):
-        lockfile.LockFile = self.class_to_test
-
-    def teardown(self):
-        try:
-            tf = self._testfile()
-            if os.path.isdir(tf):
-                shutil.rmtree(tf)
-            elif os.path.isfile(tf):
-                os.unlink(tf)
-            elif not os.path.exists(tf):
-                pass
-            else:
-                raise SystemError("unrecognized file: %s" % tf)
-        finally:
-            lockfile.LockFile = self.saved_class
-
-    def _test_acquire_helper(self, tbool):
-        # As simple as it gets.
-        lock = lockfile.LockFile(self._testfile(), threaded=tbool)
-        lock.acquire()
-        assert lock.i_am_locking()
-        lock.release()
-        assert not lock.is_locked()
-
-#     def test_acquire_basic_threaded(self):
-#         self._test_acquire_helper(True)
-
-    def test_acquire_basic_unthreaded(self):
-        self._test_acquire_helper(False)
-
-    def _test_acquire_no_timeout_helper(self, tbool):
-        # No timeout test
-        e1, e2 = threading.Event(), threading.Event()
-        t = _in_thread(self._lock_wait_unlock, e1, e2)
-        e1.wait()         # wait for thread t to acquire lock
-        lock2 = lockfile.LockFile(self._testfile(), threaded=tbool)
-        assert lock2.is_locked()
-        if tbool:
-            assert not lock2.i_am_locking()
-        else:
-            assert lock2.i_am_locking()
-
-        try:
-            lock2.acquire(timeout=-1)
-        except lockfile.AlreadyLocked:
-            pass
-        else:
-            lock2.release()
-            raise AssertionError("did not raise AlreadyLocked in"
-                                 " thread %s" %
-                                 threading.current_thread().get_name())
-
-        try:
-            lock2.acquire(timeout=0)
-        except lockfile.AlreadyLocked:
-            pass
-        else:
-            lock2.release()
-            raise AssertionError("did not raise AlreadyLocked in"
-                                 " thread %s" %
-                                 threading.current_thread().get_name())
-
-        e2.set()          # tell thread t to release lock
-        t.join()
-
-#     def test_acquire_no_timeout_threaded(self):
-#         self._test_acquire_no_timeout_helper(True)
-
-#     def test_acquire_no_timeout_unthreaded(self):
-#         self._test_acquire_no_timeout_helper(False)
-
-    def _test_acquire_timeout_helper(self, tbool):
-        # Timeout test
-        e1, e2 = threading.Event(), threading.Event()
-        t = _in_thread(self._lock_wait_unlock, e1, e2)
-        e1.wait()                # wait for thread t to acquire lock
-        lock2 = lockfile.LockFile(self._testfile(), threaded=tbool)
-        assert lock2.is_locked()
-        try:
-            lock2.acquire(timeout=0.1)
-        except lockfile.LockTimeout:
-            pass
-        else:
-            lock2.release()
-            raise AssertionError("did not raise LockTimeout in thread %s" %
-                                 threading.current_thread().get_name())
-
-        e2.set()
-        t.join()
-
-    def test_acquire_timeout_threaded(self):
-        self._test_acquire_timeout_helper(True)
-
-    def test_acquire_timeout_unthreaded(self):
-        self._test_acquire_timeout_helper(False)
-
-    def _test_context_timeout_helper(self, tbool):
-        # Timeout test
-        e1, e2 = threading.Event(), threading.Event()
-        t = _in_thread(self._lock_wait_unlock, e1, e2)
-        e1.wait()                # wait for thread t to acquire lock
-        lock2 = lockfile.LockFile(self._testfile(), threaded=tbool,
-                                  timeout=0.2)
-        assert lock2.is_locked()
-        try:
-            lock2.acquire()
-        except lockfile.LockTimeout:
-            pass
-        else:
-            lock2.release()
-            raise AssertionError("did not raise LockTimeout in thread %s" %
-                                 threading.current_thread().get_name())
-
-        e2.set()
-        t.join()
-
-    def test_context_timeout_unthreaded(self):
-        self._test_context_timeout_helper(False)
-
-    def _test_release_basic_helper(self, tbool):
-        lock = lockfile.LockFile(self._testfile(), threaded=tbool)
-        lock.acquire()
-        assert lock.is_locked()
-        lock.release()
-        assert not lock.is_locked()
-        assert not lock.i_am_locking()
-        try:
-            lock.release()
-        except lockfile.NotLocked:
-            pass
-        except lockfile.NotMyLock:
-            raise AssertionError('unexpected exception: %s' %
-                                 lockfile.NotMyLock)
-        else:
-            raise AssertionError('erroneously unlocked file')
-
-#     def test_release_basic_threaded(self):
-#         self._test_release_basic_helper(True)
-
-    def test_release_basic_unthreaded(self):
-        self._test_release_basic_helper(False)
-
-#     def test_release_from_thread(self):
-#         e1, e2 = threading.Event(), threading.Event()
-#         t = _in_thread(self._lock_wait_unlock, e1, e2)
-#         e1.wait()
-#         lock2 = lockfile.LockFile(self._testfile(), threaded=False)
-#         assert not lock2.i_am_locking()
-#         try:
-#             lock2.release()
-#         except lockfile.NotMyLock:
-#             pass
-#         else:
-#             raise AssertionError('erroneously unlocked a file locked'
-#                                  ' by another thread.')
-#         e2.set()
-#         t.join()
-
-    def _test_is_locked_helper(self, tbool):
-        lock = lockfile.LockFile(self._testfile(), threaded=tbool)
-        lock.acquire(timeout=2)
-        assert lock.is_locked()
-        lock.release()
-        assert not lock.is_locked(), "still locked after release!"
-
-#     def test_is_locked_threaded(self):
-#         self._test_is_locked_helper(True)
-
-    def test_is_locked_unthreaded(self):
-        self._test_is_locked_helper(False)
-
-#     def test_i_am_locking_threaded(self):
-#         self._test_i_am_locking_helper(True)
-
-    def test_i_am_locking_unthreaded(self):
-        self._test_i_am_locking_helper(False)
-
-    def _test_i_am_locking_helper(self, tbool):
-        lock1 = lockfile.LockFile(self._testfile(), threaded=tbool)
-        assert not lock1.is_locked()
-        lock1.acquire()
-        try:
-            assert lock1.i_am_locking()
-            lock2 = lockfile.LockFile(self._testfile(), threaded=tbool)
-            assert lock2.is_locked()
-            if tbool:
-                assert not lock2.i_am_locking()
-        finally:
-            lock1.release()
-
-    def _test_break_lock_helper(self, tbool):
-        lock = lockfile.LockFile(self._testfile(), threaded=tbool)
-        lock.acquire()
-        assert lock.is_locked()
-        lock2 = lockfile.LockFile(self._testfile(), threaded=tbool)
-        assert lock2.is_locked()
-        lock2.break_lock()
-        assert not lock2.is_locked()
-        try:
-            lock.release()
-        except lockfile.NotLocked:
-            pass
-        else:
-            raise AssertionError('break lock failed')
-
-#     def test_break_lock_threaded(self):
-#         self._test_break_lock_helper(True)
-
-    def test_break_lock_unthreaded(self):
-        self._test_break_lock_helper(False)
-
-    def _lock_wait_unlock(self, event1, event2):
-        """Lock from another thread.  Helper for tests."""
-        l = lockfile.LockFile(self._testfile())
-        l.acquire()
-        try:
-            event1.set()   # we're in,
-            event2.wait()  # wait for boss's permission to leave
-        finally:
-            l.release()
-
-    def test_enter(self):
-        lock = lockfile.LockFile(self._testfile())
-        lock.acquire()
-        try:
-            assert lock.is_locked(), "Not locked after acquire!"
-        finally:
-            lock.release()
-        assert not lock.is_locked(), "still locked after release!"
-
-    def test_decorator(self):
-        @lockfile.locked(self._testfile())
-        def func(a, b):
-            return a + b
-        assert func(4, 3) == 7
-
-
-def _in_thread(func, *args, **kwargs):
-    """Execute func(*args, **kwargs) after dt seconds. Helper for tests."""
-    def _f():
-        func(*args, **kwargs)
-    t = threading.Thread(target=_f, name='/*/*')
-    t.setDaemon(True)
-    t.start()
-    return t
diff --git a/tmp/lockfile-0.12.2/test/test_lockfile.py b/tmp/lockfile-0.12.2/test/test_lockfile.py
deleted file mode 100644 (file)
index ca1ed06..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-import lockfile.linklockfile
-import lockfile.mkdirlockfile
-import lockfile.pidlockfile
-import lockfile.symlinklockfile
-
-from compliancetest import ComplianceTest
-
-
-class TestLinkLockFile(ComplianceTest):
-    class_to_test = lockfile.linklockfile.LinkLockFile
-
-
-class TestSymlinkLockFile(ComplianceTest):
-    class_to_test = lockfile.symlinklockfile.SymlinkLockFile
-
-
-class TestMkdirLockFile(ComplianceTest):
-    class_to_test = lockfile.mkdirlockfile.MkdirLockFile
-
-
-class TestPIDLockFile(ComplianceTest):
-    class_to_test = lockfile.pidlockfile.PIDLockFile
-
-
-# Check backwards compatibility
-class TestLinkFileLock(ComplianceTest):
-    class_to_test = lockfile.LinkFileLock
-
-
-class TestMkdirFileLock(ComplianceTest):
-    class_to_test = lockfile.MkdirFileLock
-
-try:
-    import sqlite3   # noqa
-except ImportError:
-    pass
-else:
-    import lockfile.sqlitelockfile
-
-    class TestSQLiteLockFile(ComplianceTest):
-        class_to_test = lockfile.sqlitelockfile.SQLiteLockFile
diff --git a/tmp/lockfile-0.12.2/tox.ini b/tmp/lockfile-0.12.2/tox.ini
deleted file mode 100644 (file)
index 750ad5f..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# content of: tox.ini , put in same dir as setup.py
-[tox]
-envlist = py27,py32,py33,py34
-
-[testenv]
-deps = -r{toxinidir}/test-requirements.txt
-commands=nosetests
-
-[testenv:venv]
-commands = {posargs}
-
-[testenv:pep8]
-deps = flake8
-commands = flake8
-
-[testenv:docs]
-commands = python setup.py build_sphinx
-
-[testenv:cover]
-deps = {[testenv]deps}
-       coverage
-commands =
-  nosetests --with-coverage --cover-erase --cover-package=lockfile --cover-inclusive []
-
-[flake8]
-exclude=.venv,.git,.tox,dist,doc
-show-source = True
diff --git a/tmp/python-daemon-2.1.1.tar.gz b/tmp/python-daemon-2.1.1.tar.gz
deleted file mode 100644 (file)
index f5989e7..0000000
Binary files a/tmp/python-daemon-2.1.1.tar.gz and /dev/null differ