Skip to content
New issue

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

Cannot install mako 0.1 with setuptools #5

Closed
sqlalchemy-bot opened this issue Dec 31, 2006 · 5 comments
Closed

Cannot install mako 0.1 with setuptools #5

sqlalchemy-bot opened this issue Dec 31, 2006 · 5 comments
Labels
bug Something isn't working installation low priority

Comments

@sqlalchemy-bot
Copy link

Migrated issue, originally created by Anonymous

Hi, there is a problem with installing Mako with setuptools.
See below for the stacktrace.
Looks like the problem is caused by the line prune contrib/ in source:mako/trunk/MANIFEST.in

C:\>easy_install Mako
Searching for Mako
Reading http://www.python.org/pypi/Mako/
Reading http://www.makotemplates.org/
Reading http://www.python.org/pypi/Mako/0.1.0
Best match: Mako 0.1.0
Downloading http://cheeseshop.python.org/packages/source/M/Mako/Mako-0.1.0.tar.gz#md5=50adfdf4f407b9a9d3dfa86aeafe503c
Processing Mako-0.1.0.tar.gz
Running Mako-0.1.0\setup.py -q bdist_egg --dist-dir c:\docume~1\mast\ustawi~1\temp\easy_install-hitznt\Mako-0.1.0\egg-dist-tmp-7mjvk9
Traceback (most recent call last):
  File "c:\Python25\Scripts\easy_install-script.py", line 8, in <module>
    load_entry_point('setuptools==0.6c3', 'console_scripts', 'easy_install')()
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\command\easy_install.py", line 1588, in main
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\command\easy_install.py", line 1577, in with_ei_usage
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\command\easy_install.py", line 1592, in <lambda>
  File "c:\Python25\lib\distutils\core.py", line 151, in setup
    dist.run_commands()
  File "c:\Python25\lib\distutils\dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "c:\Python25\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.run()
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\command\easy_install.py", line 211, in run
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\command\easy_install.py", line 446, in easy_install
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\command\easy_install.py", line 471, in install_item
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\command\easy_install.py", line 655, in install_eggs
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\command\easy_install.py", line 930, in build_and_install
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\command\easy_install.py", line 919, in run_setup
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\sandbox.py", line 27, in run_setup
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\sandbox.py", line 63, in run
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\sandbox.py", line 29, in <lambda>
  File "setup.py", line 48, in <module>
  File "c:\Python25\lib\distutils\core.py", line 151, in setup
    dist.run_commands()
  File "c:\Python25\lib\distutils\dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "c:\Python25\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.run()
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\command\bdist_egg.py", line 167, in run
  File "c:\Python25\lib\distutils\cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "c:\Python25\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.run()
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\command\egg_info.py", line 171, in run
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\command\egg_info.py", line 252, in find_sources
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\command\egg_info.py", line 308, in run
  File "c:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\setuptools\command\sdist.py", line 157, in read_template
  File "c:\Python25\lib\distutils\command\sdist.py", line 335, in read_template
    self.filelist.process_template_line(line)
  File "c:\Python25\lib\distutils\filelist.py", line 130, in process_template_line
    (action, patterns, dir, dir_pattern) = self._parse_template_line(line)
  File "c:\Python25\lib\distutils\filelist.py", line 113, in _parse_template_line
    dir_pattern = convert_path(words[1])
  File "c:\Python25\lib\distutils\util.py", line 140, in convert_path
    raise ValueError, "path '%s' cannot end with '/'" % pathname
ValueError: path 'contrib/' cannot end with '/'

C:\>
@sqlalchemy-bot
Copy link
Author

Michael Bayer (@zzzeek) wrote:

im guessing this is a windows problem, im unable to reproduce on OSX. [changeset:163] and [changeset:164] commit the "prune" directive without the "/", and I've re-uploaded the package to cheeseshop. if you can confirm that it works now i can close this ticket.

@sqlalchemy-bot
Copy link
Author

Michael Bayer (@zzzeek) wrote:

as of [changeset:166] ive entirely moved the textmate stuff out of the trunk, until i can get support from its author as to if it can be bundled as a tar.gz file or similar in SVN.

@sqlalchemy-bot
Copy link
Author

Changes by Michael Bayer (@zzzeek):

  • changed status to closed

@sqlalchemy-bot
Copy link
Author

Changes by Michael Bayer (@zzzeek):

  • removed labels: caching
  • added labels: installation

@sqlalchemy-bot
Copy link
Author

Anonymous wrote:

easy_install Mako now works OK on windows. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working installation low priority
Projects
None yet
Development

No branches or pull requests

1 participant