Following the tutorial did not work for me using "pip", but worked fine
using "easy_install" (distribute).
It was done with Python 2.7 in a virtual environment created with
--no-site-packages.

(The "pro-Pip" people claim that problems encountered with Pip are due to
authors not setting things up correctly, and that Pip won't "half install"
things.  Then many packages on PyPI must be broken, because in my
experience Pip only installs things successfully less than half the time.)

Also, you may want to look at "pinning" the dependency versions for
Cornice.  It seems to pull in the latest of everything, which will likely
be a problem at some point.  (It pulled in the just-released Pyramid
version 1.3a3.)

I haven't gotten much past the "Hello World" screen yet, but I will be
digging further soon.

Should future conversation remain on the pylon-discuss list or move to
another venue?


Thanks,
Steve


Partial pip.log below:

Command /opt/ss-devel/bfg/cornice_env/bin/python -c "import
setuptools;__file__='/opt/ss-devel/bfg/cornice_env/build/PasteScript/setup.py';exec(compile(open(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --single-version-externally-managed
--record /tmp/pip-DabUU1-record/install-record.txt --install-headers
/opt/ss-devel/bfg/cornice_env/include/site/python2.7 failed with error code
1
Exception information:
Traceback (most recent call last):
  File
"/opt/ss-devel/bfg/cornice_env/local/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/basecommand.py",
line 126, in main
    self.run(options, args)
  File
"/opt/ss-devel/bfg/cornice_env/local/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/commands/install.py",
line 228, in run
    requirement_set.install(install_options, global_options)
  File
"/opt/ss-devel/bfg/cornice_env/local/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/req.py",
line 1100, in install
    requirement.install(install_options, global_options)
  File
"/opt/ss-devel/bfg/cornice_env/local/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/req.py",
line 572, in install
    cwd=self.source_dir, filter_stdout=self._filter_install,
show_stdout=False)
  File
"/opt/ss-devel/bfg/cornice_env/local/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/__init__.py",
line 255, in call_subprocess
    % (command_desc, proc.returncode))
InstallationError: Command /opt/ss-devel/bfg/cornice_env/bin/python -c
"import
setuptools;__file__='/opt/ss-devel/bfg/cornice_env/build/PasteScript/setup.py';exec(compile(open(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --single-version-externally-managed
--record /tmp/pip-DabUU1-record/install-record.txt --install-headers
/opt/ss-devel/bfg/cornice_env/include/site/python2.7 failed with error code
1

On Wed, Dec 21, 2011 at 4:24 AM, Tarek Ziadé <ziade.ta...@gmail.com> wrote:

> Hey,
>
> I guess this is the proper place for this kind of announcement ...
>
> => We've released Cornice 0.6
>
> Cornice provides helpers to build & document REST-ish Web Services
> with Pyramid.
>
> This version has:
> - multiple bug fixes
> - a Paster template to quickly start a new Cornice project
> - a tutorial & a full new example in examples/
>
> You can try out the tutorial at
> http://packages.python.org/cornice/tutorial.html
>
> The main benefits of Cornice are:
>
> - automatic handling of some HTTP errors - Ask yourself: is your app
> handling properly 405 or 406 errors?
> - automatic web service documentation via a Sphinx extension.
> - a simple way to validate and convert requests data, and return
> structured 400 responses.
>
> Check it out :
>
> - Documentation - http://packages.python.org/cornice
> - PyPI - http://pypi.python.org/pypi/cornice
> - Repository - https://github.com/mozilla-services/cornice
>
> We'd love feedback & new contributors !
>
> Cheers
> Tarek
>
> --
> Tarek Ziadé | http://ziade.org
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To post to this group, send email to pylons-discuss@googlegroups.com.
> To unsubscribe from this group, send email to
> pylons-discuss+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to