Cannot Install in Cygwin

Bug #1464941 reported by Andrew
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pylockfile
Won't Fix
Undecided
Unassigned

Bug Description

upon downloading the zip and unzipping, I run python setup.py install and get the below.

I have git installed in Cygwin

I have tried pip install -U pbr to fix that but no success

$ python setup.py install
ERROR:root:Error parsing
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pbr/core.py", line 109, in pbr
    attrs = util.cfg_to_args(path)
  File "/usr/lib/python2.7/site-packages/pbr/util.py", line 243, in cfg_to_args
    pbr.hooks.setup_hook(config)
  File "/usr/lib/python2.7/site-packages/pbr/hooks/__init__.py", line 25, in setup_hook
    metadata_config.run()
  File "/usr/lib/python2.7/site-packages/pbr/hooks/base.py", line 27, in run
    self.hook()
  File "/usr/lib/python2.7/site-packages/pbr/hooks/metadata.py", line 26, in hook
    self.config['name'], self.config.get('version', None))
  File "/usr/lib/python2.7/site-packages/pbr/packaging.py", line 576, in get_version
    raise Exception("Versioning for this project requires either an sdist"
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?
error in setup command: Error parsing /cygdrive/c/users/andrew/downloads/cygwin/pylockfile-master/setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?

Revision history for this message
Ben Nemec (bnemec) wrote :

pylockfile has been retired. We won't be making any more updates to it. See the fasteners library for a supported alternative.

Changed in pylockfile:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.