Skip to content

Commit

Permalink
Remove scaffold from repo (fixes #388)
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Oct 19, 2016
1 parent c6d37f4 commit 2a61e4c
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 161 deletions.
2 changes: 0 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include *.txt
include *.rst
include LICENSE
recursive-include cornice/scaffolds *.*
recursive-include cornice/tests *.rx
21 changes: 0 additions & 21 deletions cornice/scaffolds/__init__.py

This file was deleted.

45 changes: 0 additions & 45 deletions cornice/scaffolds/cornice/+package+.ini_tmpl

This file was deleted.

10 changes: 0 additions & 10 deletions cornice/scaffolds/cornice/+package+/__init__.py_tmpl

This file was deleted.

12 changes: 0 additions & 12 deletions cornice/scaffolds/cornice/+package+/views.py_tmpl

This file was deleted.

4 changes: 0 additions & 4 deletions cornice/scaffolds/cornice/README.rst_tmpl

This file was deleted.

32 changes: 0 additions & 32 deletions cornice/scaffolds/cornice/setup.py_tmpl

This file was deleted.

4 changes: 2 additions & 2 deletions docs/source/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ To use Cornice, install it::
$ pip install cornice


That'll give you a Paster template to use::
You can use a `Cookiecutter <https://cookiecutter.readthedocs.io>`_ project template::

$ pcreate -t cornice project
$ cookiecutter gh:Cornices/cookiecutter-cornice
...

The template creates a working Cornice application.
Expand Down
26 changes: 4 additions & 22 deletions docs/source/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,29 +53,11 @@ Once you have it, install Cornice in it with Pip::

$ bin/pip install cornice

Cornice provides a Paster Template you can use to create a new
application::

$ bin/pcreate -t cornice messaging
Creating directory <...path ...>/messaging
Recursing into +package+
Creating <...path ...>/messaging/messaging/
Copying __init__.py_tmpl to <...path ...>/messaging/messaging/__init__.py
Copying views.py_tmpl to <...path ...>/messaging/messaging/views.py
Copying +package+.ini_tmpl to <...path ...>/messaging/messaging.ini
Copying README.rst_tmpl to <...path ...>/messaging/README.rst
Copying setup.py_tmpl to <...path ...>/messaging/setup.py

===============================================================================
Tutorials: http://docs.pylonsproject.org/projects/pyramid_tutorials
Documentation: http://docs.pylonsproject.org/projects/pyramid

Twitter (tips & updates): http://twitter.com/pylons
Mailing List: http://groups.google.com/group/pylons-discuss

Welcome to Pyramid. Sorry for the convenience.
===============================================================================
We provide a `Cookiecutter <https://cookiecutter.readthedocs.io>`_ template you
can use to create a new application::

$ bin/pip install cookiecutter
$ bin/cookiecutter gh:Cornices/cookiecutter-cornice -o messaging

Once your application is generated, go there and call *develop* against it::

Expand Down
13 changes: 2 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,8 @@

requires = ['pyramid', 'simplejson']

entry_points = """\
[paste.paster_create_template]
cornice=cornice.scaffolds:CorniceTemplate
[pyramid.scaffold]
cornice=cornice.scaffolds:CorniceTemplate
"""

package_data = {
"cornice.scaffolds": [
"cornice/*.*",
"cornice/+package+/*.*"]}
entry_points = ""
package_data = {}

setup(name='cornice',
version='1.3.0.dev0',
Expand Down

0 comments on commit 2a61e4c

Please sign in to comment.