my notes when this issue came up:

- hide quoted text -
> recap: 
> 
> [06.07.13 20:43:56] andi: ok, i deleted everything called ``distribute*`` on 
> osx and debian. then installed new ``setuptools`` (macports: ``sudo port 
> sync; sudo port -v install py27-setuptools``, debian ``wget 
> https://bitbucket.org/pypa/setuptools/raw/0.8/ez_setup.py -O - | python2.7``
> 
> as seen on https://pypi.python.org/pypi/setuptools/0.8
> 
> in ``buildout.cfg`` set::
> 
>   distribute = 0.7.3
>   setuptools = 0.8
> 
> update ``bootstrap.py`` in your project::
> 
>   rm bootstrap.py && curl -O http://downloads.buildout.org/2/bootstrap.py

> [06.07.13 20:46:11] andi: now seems to work. 
> 
> on a  ci-systemen don't forget the ``bootstrap.py``. i got this 
> conditionally, this was a trap of course ;)

best, andi


On 29.08.2013, at 02:20, Chung WONG wrote:

> For some reasons, shit always happen.
> 
> After I ran 
> ~/newproject $ ./bin/buildout
> 
> 
> I get another error saying setuptools not found
> 
> Develop: '/tmp/newproject/src/newproject'
> /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution 
> option: 'paster_plugins'
>   warnings.warn(msg)
> warning: no files found matching '*.ini'
> warning: no files found matching '*.rst'
> warning: no files found matching '*.jpg' under directory 'newproject'
> warning: no files found matching '*.pt' under directory 'newproject'
> warning: no files found matching '*.txt' under directory 'newproject'
> warning: no files found matching '*.mak' under directory 'newproject'
> warning: no files found matching '*.mako' under directory 'newproject'
> warning: no files found matching '*.js' under directory 'newproject'
> warning: no files found matching '*.html' under directory 'newproject'
> warning: no files found matching '*.xml' under directory 'newproject'
> Couldn't find index page for 'collective.recipe.cmd' (maybe misspelled?)
> Unused options for buildout: 'ae-runtime' 'include-site-packages' 'unzip'.
> Installing newproject.
> rod.recipe.appengine: Google App Engine distribution already downloaded.
> Generated script '/tmp/newproject/bin/devappserver'.
> Generated script '/tmp/newproject/bin/appcfg'.
> Getting distribution for 'Chameleon>=1.2.3'.
> Got Chameleon 2.12.
> While:
>   Installing newproject.
> 
> An internal error occurred due to a bug in either zc.buildout or in a
> recipe being used:
> Traceback (most recent call last):
>   File 
> "/tmp/newproject/eggs/zc.buildout-2.2.0-py2.7.egg/zc/buildout/buildout.py", 
> line 1942, in main
>     getattr(buildout, command)(args)
>   File 
> "/tmp/newproject/eggs/zc.buildout-2.2.0-py2.7.egg/zc/buildout/buildout.py", 
> line 622, in install
>     installed_files = self[part]._call(recipe.install)
>   File 
> "/tmp/newproject/eggs/zc.buildout-2.2.0-py2.7.egg/zc/buildout/buildout.py", 
> line 1366, in _call
>     return f()
>   File 
> "/tmp/newproject/eggs/rod.recipe.appengine-2.0.2-py2.7.egg/rod/recipe/appengine/__init__.py",
>  line 367, in install
>     self.copy_packages(ws, temp_dir)
>   File 
> "/tmp/newproject/eggs/rod.recipe.appengine-2.0.2-py2.7.egg/rod/recipe/appengine/__init__.py",
>  line 274, in copy_packages
>     self.write_pkg_resources(ws, lib)
>   File 
> "/tmp/newproject/eggs/rod.recipe.appengine-2.0.2-py2.7.egg/rod/recipe/appengine/__init__.py",
>  line 257, in write_pkg_resources
>     assert len(setuptools_eggs) == 1, "setuptools not found"
> AssertionError: setuptools not found
> 
> 
> 
> BTW, someone has removed the --distribute option from the cookbook, thanks.
> 
> On Wednesday, August 28, 2013 11:01:35 AM UTC+10, Chung WONG wrote:
> Hi all,
> 
> I am learning how to deploy to google app engine on this link.
> However , I am stuck at 
> 
> ~/ $ cd newproject
> ~/newproject $ /usr/bin/python2.7 bootstrap.py --distribute
> 
> 
> After typing the command, I got this error for some reasons which I don't 
> have a clue at all.
> 
> Usage: [DESIRED PYTHON FOR BUILDOUT] bootstrap.py [options]
> 
> Bootstraps a buildout-based project.
> 
> Simply run this script in a directory containing a buildout.cfg, using the
> Python that you want bin/buildout to use.
> 
> Note that by using --setup-source and --download-base to point to
> local resources, you can keep this script from going over the network.
> 
> 
> bootstrap.py: error: no such option: --distribute
> 
> I am running debian wheezy and I followed the exact steps and commands in the 
> tutorial.
> Does anyone have any idea?
> Thanks.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/pylons-discuss.
> For more options, visit https://groups.google.com/groups/opt_out.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to