ldtp / ldtp2

Linux Desktop Testing Project
GNU Lesser General Public License v2.1
108 stars 49 forks source link

pip install ldtp fails because there is no setup.py #49

Open stuaxo opened 5 years ago

stuaxo commented 5 years ago
$ pip install -v ldtp
Created temporary directory: /tmp/pip-ephem-wheel-cache-r4DZTy
Created temporary directory: /tmp/pip-install-coye19
Collecting ldtp
  1 location(s) to search for versions of ldtp:
  * https://pypi.org/simple/ldtp/
  Getting page https://pypi.org/simple/ldtp/
  Looking up "https://pypi.org/simple/ldtp/" in the cache
  Current age based on date: 398
  Freshness lifetime from max-age: 600
  Freshness lifetime from request max-age: 600
  The response is "fresh", returning cached response
  600 > 398
  Analyzing links from page https://pypi.org/simple/ldtp/
    Found link https://files.pythonhosted.org/packages/5e/fd/e362c5ea06c62b0f056d60afd6256ee65f1e9882ddac19b8995c49e7d237/ldtp-1.0.0.tar.gz#sha256=80a60d8778caf619983e3046bbd4135cfb879f2f21f38c7acef1138eb98ad4a2 (from https://pypi.org/simple/ldtp/), version: 1.0.0
  Using version 1.0.0 (newest of versions: 1.0.0)
  Created temporary directory: /tmp/pip-unpack-ZrM7hn
  Looking up "https://files.pythonhosted.org/packages/5e/fd/e362c5ea06c62b0f056d60afd6256ee65f1e9882ddac19b8995c49e7d237/ldtp-1.0.0.tar.gz" in the cache
  Ignoring unknown cache-control directive: 
  Current age based on date: 398
  Ignoring unknown cache-control directive: immutable
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 398
  Using cached https://files.pythonhosted.org/packages/5e/fd/e362c5ea06c62b0f056d60afd6256ee65f1e9882ddac19b8995c49e7d237/ldtp-1.0.0.tar.gz
  Downloading from URL https://files.pythonhosted.org/packages/5e/fd/e362c5ea06c62b0f056d60afd6256ee65f1e9882ddac19b8995c49e7d237/ldtp-1.0.0.tar.gz#sha256=80a60d8778caf619983e3046bbd4135cfb879f2f21f38c7acef1138eb98ad4a2 (from https://pypi.org/simple/ldtp/)
  Running setup.py (path:/tmp/pip-install-coye19/ldtp/setup.py) egg_info for package ldtp
    Running command python setup.py egg_info
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    IOError: [Errno 2] No such file or directory: '/tmp/pip-install-coye19/ldtp/setup.py'
Cleaning up...
  Removing source in /tmp/pip-install-coye19/ldtp
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-coye19/ldtp/
Exception information:
Traceback (most recent call last):
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/basecommand.py", line 228, in main
    status = self.run(options, args)
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 291, in run
    resolver.resolve(requirement_set)
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/resolve.py", line 103, in resolve
    self._resolve_one(requirement_set, req)
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/resolve.py", line 257, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/resolve.py", line 210, in _get_abstract_dist_for
    self.require_hashes
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 324, in prepare_linked_requirement
    abstract_dist.prep_for_dist(finder, self.build_isolation)
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 154, in prep_for_dist
    self.req.run_egg_info()
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 486, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/utils/misc.py", line 698, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-coye19/ldtp/
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.