Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

misaka.egg broken for Python 2.6 under Windows 7 #14

Closed
SRombauts opened this issue Mar 25, 2012 · 2 comments
Closed

misaka.egg broken for Python 2.6 under Windows 7 #14

SRombauts opened this issue Mar 25, 2012 · 2 comments

Comments

@SRombauts
Copy link

I am currently under Windows 7 SP1, using Python 2.6, trying to install misaka with "pip".

Here is the full command line result :

C:\Program Files\Python26\Scripts>pip install misaka
Downloading/unpacking misaka
  Running setup.py egg_info for package misaka
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "C:\Program Files\Python26\Scripts\build\misaka\setup.py", line 50, in <module>
        'Topic :: Utilities'
      File "C:\Program Files\Python26\lib\distutils\core.py", line 152, in setup
        dist.run_commands()
      File "C:\Program Files\Python26\lib\distutils\dist.py", line 975, in run_commands
        self.run_command(cmd)
      File "C:\Program Files\Python26\lib\distutils\dist.py", line 995, in run_command
        cmd_obj.run()
      File "<string>", line 12, in replacement_run
      File "C:\Program Files\Python26\lib\site-packages\setuptools\command\egg_info.py", line 252, in find_sources
        mm.run()
      File "C:\Program Files\Python26\lib\site-packages\setuptools\command\egg_info.py", line 308, in run
        self.read_template()
      File "C:\Program Files\Python26\lib\site-packages\setuptools\command\sdist.py", line 157, in read_template
        _sdist.read_template(self)
      File "C:\Program Files\Python26\lib\distutils\command\sdist.py", line 336, in read_template
        self.filelist.process_template_line(line)
      File "C:\Program Files\Python26\lib\distutils\filelist.py", line 129, in process_template_line
        (action, patterns, dir, dir_pattern) = self._parse_template_line(line)
      File "C:\Program Files\Python26\lib\distutils\filelist.py", line 104, in _parse_template_line
        dir = convert_path(words[1])
      File "C:\Program Files\Python26\lib\distutils\util.py", line 191, in convert_path
        raise ValueError, "path '%s' cannot end with '/'" % pathname
    ValueError: path 'src/' cannot end with '/'
    Complete output from command python setup.py egg_info:
    running egg_info

writing pip-egg-info\misaka.egg-info\PKG-INFO

writing top-level names to pip-egg-info\misaka.egg-info\top_level.txt

writing dependency_links to pip-egg-info\misaka.egg-info\dependency_links.txt

reading manifest file 'pip-egg-info\misaka.egg-info\SOURCES.txt'

reading manifest template 'MANIFEST.in'

warning: manifest_maker: standard file '-c' not found

Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "C:\Program Files\Python26\Scripts\build\misaka\setup.py", line 50, in <module>

    'Topic :: Utilities'

  File "C:\Program Files\Python26\lib\distutils\core.py", line 152, in setup

    dist.run_commands()

  File "C:\Program Files\Python26\lib\distutils\dist.py", line 975, in run_commands

    self.run_command(cmd)

  File "C:\Program Files\Python26\lib\distutils\dist.py", line 995, in run_command

    cmd_obj.run()

  File "<string>", line 12, in replacement_run

  File "C:\Program Files\Python26\lib\site-packages\setuptools\command\egg_info.py", line 252, in find_sources

    mm.run()

  File "C:\Program Files\Python26\lib\site-packages\setuptools\command\egg_info.py", line 308, in run

    self.read_template()

  File "C:\Program Files\Python26\lib\site-packages\setuptools\command\sdist.py", line 157, in read_template

    _sdist.read_template(self)

  File "C:\Program Files\Python26\lib\distutils\command\sdist.py", line 336, in read_template

    self.filelist.process_template_line(line)

  File "C:\Program Files\Python26\lib\distutils\filelist.py", line 129, in process_template_line

    (action, patterns, dir, dir_pattern) = self._parse_template_line(line)

  File "C:\Program Files\Python26\lib\distutils\filelist.py", line 104, in _parse_template_line

    dir = convert_path(words[1])

  File "C:\Program Files\Python26\lib\distutils\util.py", line 191, in convert_path

    raise ValueError, "path '%s' cannot end with '/'" % pathname

ValueError: path 'src/' cannot end with '/'

----------------------------------------
Command python setup.py egg_info failed with error code 1 in C:\Program Files\Python26\Scripts\build\misaka
Storing complete log in C:\Users\***\AppData\Roaming\pip\pip.log
@FSX
Copy link
Owner

FSX commented Mar 25, 2012

Seems the forward slashes in the MANIFEST.in file are the cause of this. This has already been fixed in the git version. I'll make a release when have enough time. Maybe tonight.

@SRombauts
Copy link
Author

Thanks.
For now, I've build it myself with Visual Studio 2008, with a path of myself tough (please see issue #15)

@FSX FSX closed this as completed Apr 1, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants