[IPython-dev] MANIFEST.in griefs

Ville Vainio vivainio at gmail.com
Sat Feb 4 09:32:25 EST 2006


Setuptools route installation fails on Windows XP when manifest.in
file exists (after deleting manifest.in, it works ok):

@v-v1ob9xeen3rdb[IPython]|25> python eggsetup.py install
['eggsetup.py', 'install']
running install
running bdist_egg
running egg_info
creating ipython.egg-info
writing ipython.egg-info\PKG-INFO
writing top-level names to ipython.egg-info\top_level.txt
writing entry points to ipython.egg-info\entry_points.txt
reading manifest template 'MANIFEST.in'
Traceback (most recent call last):
  File "eggsetup.py", line 16, in ?
    execfile('setup.py')
  File "setup.py", line 168, in ?
    data_files       = datafiles,
  File "F:\python24\lib\distutils\core.py", line 149, in setup
    dist.run_commands()
  File "F:\python24\lib\distutils\dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "F:\python24\lib\distutils\dist.py", line 966, in run_command
    cmd_obj.run()
  File "f:\python24\lib\site-packages\setuptools-0.6a9-py2.4.egg\setuptools\comm
and\install.py", line 70, in run
    self.do_egg_install()
  File "f:\python24\lib\site-packages\setuptools-0.6a9-py2.4.egg\setuptools\comm
and\install.py", line 93, in do_egg_install
    self.run_command('bdist_egg')
  File "F:\python24\lib\distutils\cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "F:\python24\lib\distutils\dist.py", line 966, in run_command
    cmd_obj.run()
  File "f:\python24\lib\site-packages\setuptools-0.6a9-py2.4.egg\setuptools\comm
and\bdist_egg.py", line 167, in run
    self.run_command("egg_info")
  File "F:\python24\lib\distutils\cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "F:\python24\lib\distutils\dist.py", line 966, in run_command
    cmd_obj.run()
  File "f:\python24\lib\site-packages\setuptools-0.6a9-py2.4.egg\setuptools\comm
and\egg_info.py", line 130, in run
    self.find_sources()
  File "f:\python24\lib\site-packages\setuptools-0.6a9-py2.4.egg\setuptools\comm
and\egg_info.py", line 170, in find_sources
    mm.run()
  File "f:\python24\lib\site-packages\setuptools-0.6a9-py2.4.egg\setuptools\comm
and\egg_info.py", line 225, in run
    self.read_template()
  File "F:\python24\lib\distutils\command\sdist.py", line 335, in read_template
    self.filelist.process_template_line(line)
  File "F:\python24\lib\distutils\filelist.py", line 130, in process_template_li
ne
    (action, patterns, dir, dir_pattern) = self._parse_template_line(line)
  File "F:\python24\lib\distutils\filelist.py", line 98, in _parse_template_line

    patterns = map(convert_path, words[1:])
  File "F:\python24\lib\distutils\util.py", line 91, in convert_path
    raise ValueError, "path '%s' cannot end with '/'" % pathname
ValueError: path 'doc/' cannot end with '/'
@v-v1ob9xeen3rdb[IPython]|26>

Is the manifest.in only used for source distribution, i.e. could it be
renamed and only created for "sdist"? Or could it be edited to get
around this problem?

--
Ville Vainio - http://tinyurl.com/2prnb
http://vainio.blogspot.com - g[mail | talk]='vivainio'




More information about the IPython-dev mailing list