1. Peter Sagerson
  2. mockldap
  3. Issues

Issues

Issue #10 resolved

Pip install on Windows fails

Philip Douglas
created an issue

When I try to install mockldap from pip on Windows 7 I get the following error:

Traceback (most recent call last):

  File "<string>", line 17, in <module>
  File "c:\users\gbdoug~1.eu\appdata\local\temp\pip_build_gbdouglasp\mockldap\setup.py", line 60, in <module>
    test_suite='mockldap.tests',
  File "C:\Python27\lib\distutils\core.py", line 152, in setup
    dist.run_commands()
  File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
    cmd_obj.run()
  File "<string>", line 15, in replacement_run
  File "C:\Python27\lib\site-packages\setuptools\command\egg_info.py", line 186, in find_sources
    mm.run()
  File "C:\Python27\lib\site-packages\setuptools\command\egg_info.py", line 246, in run
    self.add_defaults()
  File "C:\Python27\lib\site-packages\setuptools\command\egg_info.py", line 282, in add_defaults
    sdist.add_defaults(self)
  File "C:\Python27\lib\site-packages\setuptools\command\sdist.py", line 167, in add_defaults
    build_py = self.get_finalized_command('build_py')
  File "C:\Python27\lib\distutils\cmd.py", line 312, in get_finalized_command
    cmd_obj.ensure_finalized()
  File "C:\Python27\lib\distutils\cmd.py", line 109, in ensure_finalized
    self.finalize_options()
  File "C:\Python27\lib\site-packages\setuptools\command\build_py.py", line 26, in finalize_options
    _build_py.finalize_options(self)
  File "C:\Python27\lib\distutils\command\build_py.py", line 56, in finalize_options
    self.package_dir[name] = convert_path(path)
  File "C:\Python27\lib\distutils\util.py", line 126, in convert_path
    raise ValueError, "path '%s' cannot end with '/'" % pathname
ValueError: path 'src/' cannot end with '/'

Comments (2)

  1. Log in to comment