Saved searches

Use saved searches to filter your results more quickly

Cancel Create saved search Sign up Reseting focus

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

behave / behave Public

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails on Windows #28

calcium opened this issue Dec 22, 2011 · 7 comments

Install fails on Windows #28

calcium opened this issue Dec 22, 2011 · 7 comments

Comments

calcium commented Dec 22, 2011

Hello,
I tried installing on windows, both using
$ pip install behave

as well as downloading it and doing a
$ python setup install

I get the following error
"""
writing top-level names to behave.egg-info\top_level.txtt.win32\egg\test
writing dependency_links to behave.egg-info\dependency_links.txt\test
reading manifest file 'behave.egg-info\SOURCES.txt'.win32\egg\test
Traceback (most recent call last):.py -> build\bdist.win32\egg\test
File "setup.py", line 41, in > build\bdist.win32\egg\test
"License :: OSI Approved :: BSD License",-> build\bdist.win32\egg\test
File "X:\sdk\Python27\lib\distutils\core.py", line 152, in setup\egg\test
dist.run_commands()init.py -> build\bdist.win32\egg\test
File "X:\sdk\Python27\lib\distutils\dist.py", line 953, in run_commandstion.py
self.run_command(cmd)
File "X:\sdk\Python27\lib\distutils\dist.py", line 972, in run_command ansi_es
cmd_obj.run()
.
[deleted]
.
File "X:\sdk\Python27\lib\site-packages\setuptools\command\egg_info.py", line 339, in add_defaults
self.read_manifest()
File "X:\sdk\Python27\lib\distutils\command\sdist.py", line 385, in read_manifest
self.filelist.append(line)
File "X:\sdk\Python27\lib\site-packages\setuptools\command\egg_info.py", line 278, in append
path = convert_path(item)
File "X:\sdk\Python27\lib\distutils\util.py", line 199, in convert_path
raise ValueError, "path '%s' cannot be absolute" % pathname
ValueError: path '/' cannot be absolute
"""

Anyways, it seems that the file behave.egg-info/SOURCES.txt has an
entry of "/" in it.

I deleted this line and it seems to install ok now.

and a test of the following provided no complaints

$ python -c "import behave"

Not sure what the "/" actually does but it breaks the install on windows.
(used both the dos cmd prompt as well as cygwin bash).

The text was updated successfully, but these errors were encountered: