Permalink
Browse files

initial work removing pcreate

  • Loading branch information...
mmerickel committed Oct 31, 2018
1 parent 26ff2bf commit 4aa2eb5f970b812a96480e2cd7c18c1103b844c8
Showing with 5 additions and 4,239 deletions.
  1. +0 −2 .coveragerc
  2. +0 −3 .flake8
  3. +0 −12 HACKING.txt
  4. +0 −11 docs/glossary.rst
  5. +1 −1 docs/narr/commandline.rst
  6. +0 −9 docs/pscripts/pcreate.rst
  7. +4 −3 docs/tutorials/wiki/NOTE-relocatable.txt
  8. +0 −5 setup.py
  9. +0 −72 src/pyramid/scaffolds/__init__.py
  10. +0 −3 src/pyramid/scaffolds/alchemy/+dot+coveragerc_tmpl
  11. +0 −12 src/pyramid/scaffolds/alchemy/+package+/__init__.py
  12. +0 −74 src/pyramid/scaffolds/alchemy/+package+/models/__init__.py_tmpl
  13. +0 −16 src/pyramid/scaffolds/alchemy/+package+/models/meta.py
  14. +0 −18 src/pyramid/scaffolds/alchemy/+package+/models/mymodel.py
  15. +0 −3 src/pyramid/scaffolds/alchemy/+package+/routes.py
  16. +0 −1 src/pyramid/scaffolds/alchemy/+package+/scripts/__init__.py
  17. +0 −45 src/pyramid/scaffolds/alchemy/+package+/scripts/initializedb.py
  18. BIN src/pyramid/scaffolds/alchemy/+package+/static/pyramid-16x16.png
  19. BIN src/pyramid/scaffolds/alchemy/+package+/static/pyramid.png
  20. +0 −154 src/pyramid/scaffolds/alchemy/+package+/static/theme.css
  21. +0 −8 src/pyramid/scaffolds/alchemy/+package+/templates/404.jinja2_tmpl
  22. +0 −66 src/pyramid/scaffolds/alchemy/+package+/templates/layout.jinja2_tmpl
  23. +0 −8 src/pyramid/scaffolds/alchemy/+package+/templates/mytemplate.jinja2_tmpl
  24. +0 −65 src/pyramid/scaffolds/alchemy/+package+/tests.py_tmpl
  25. 0 src/pyramid/scaffolds/alchemy/+package+/views/__init__.py
  26. +0 −33 src/pyramid/scaffolds/alchemy/+package+/views/default.py_tmpl
  27. +0 −7 src/pyramid/scaffolds/alchemy/+package+/views/notfound.py_tmpl
  28. +0 −4 src/pyramid/scaffolds/alchemy/CHANGES.txt_tmpl
  29. +0 −2 src/pyramid/scaffolds/alchemy/MANIFEST.in_tmpl
  30. +0 −14 src/pyramid/scaffolds/alchemy/README.txt_tmpl
  31. +0 −69 src/pyramid/scaffolds/alchemy/development.ini_tmpl
  32. +0 −59 src/pyramid/scaffolds/alchemy/production.ini_tmpl
  33. +0 −3 src/pyramid/scaffolds/alchemy/pytest.ini_tmpl
  34. +0 −55 src/pyramid/scaffolds/alchemy/setup.py_tmpl
  35. +0 −372 src/pyramid/scaffolds/copydir.py
  36. +0 −3 src/pyramid/scaffolds/starter/+dot+coveragerc_tmpl
  37. +0 −12 src/pyramid/scaffolds/starter/+package+/__init__.py
  38. BIN src/pyramid/scaffolds/starter/+package+/static/pyramid-16x16.png
  39. BIN src/pyramid/scaffolds/starter/+package+/static/pyramid.png
  40. +0 −152 src/pyramid/scaffolds/starter/+package+/static/theme.css
  41. +0 −66 src/pyramid/scaffolds/starter/+package+/templates/layout.jinja2_tmpl
  42. +0 −8 src/pyramid/scaffolds/starter/+package+/templates/mytemplate.jinja2_tmpl
  43. +0 −29 src/pyramid/scaffolds/starter/+package+/tests.py_tmpl
  44. +0 −6 src/pyramid/scaffolds/starter/+package+/views.py_tmpl
  45. +0 −4 src/pyramid/scaffolds/starter/CHANGES.txt_tmpl
  46. +0 −2 src/pyramid/scaffolds/starter/MANIFEST.in_tmpl
  47. +0 −12 src/pyramid/scaffolds/starter/README.txt_tmpl
  48. +0 −59 src/pyramid/scaffolds/starter/development.ini_tmpl
  49. +0 −53 src/pyramid/scaffolds/starter/production.ini_tmpl
  50. +0 −3 src/pyramid/scaffolds/starter/pytest.ini_tmpl
  51. +0 −49 src/pyramid/scaffolds/starter/setup.py_tmpl
  52. +0 −185 src/pyramid/scaffolds/template.py
  53. +0 −79 src/pyramid/scaffolds/tests.py
  54. +0 −3 src/pyramid/scaffolds/zodb/+dot+coveragerc_tmpl
  55. +0 −20 src/pyramid/scaffolds/zodb/+package+/__init__.py
  56. +0 −14 src/pyramid/scaffolds/zodb/+package+/models.py
  57. BIN src/pyramid/scaffolds/zodb/+package+/static/pyramid-16x16.png
  58. BIN src/pyramid/scaffolds/zodb/+package+/static/pyramid.png
  59. +0 −154 src/pyramid/scaffolds/zodb/+package+/static/theme.css
  60. +0 −67 src/pyramid/scaffolds/zodb/+package+/templates/mytemplate.pt_tmpl
  61. +0 −17 src/pyramid/scaffolds/zodb/+package+/tests.py_tmpl
  62. +0 −7 src/pyramid/scaffolds/zodb/+package+/views.py_tmpl
  63. +0 −4 src/pyramid/scaffolds/zodb/CHANGES.txt_tmpl
  64. +0 −2 src/pyramid/scaffolds/zodb/MANIFEST.in_tmpl
  65. +0 −12 src/pyramid/scaffolds/zodb/README.txt_tmpl
  66. +0 −64 src/pyramid/scaffolds/zodb/development.ini_tmpl
  67. +0 −59 src/pyramid/scaffolds/zodb/production.ini_tmpl
  68. +0 −3 src/pyramid/scaffolds/zodb/pytest.ini_tmpl
  69. +0 −53 src/pyramid/scaffolds/zodb/setup.py_tmpl
  70. +0 −297 src/pyramid/scripts/pcreate.py
  71. +0 −1 tests/test_scaffolds/__init__.py
  72. 0 tests/test_scaffolds/fixture_scaffold/+package+/.badfile
  73. +0 −12 tests/test_scaffolds/fixture_scaffold/+package+/__init__.py_tmpl
  74. +0 −3 tests/test_scaffolds/fixture_scaffold/+package+/resources.py
  75. BIN tests/test_scaffolds/fixture_scaffold/+package+/static/favicon.ico
  76. BIN tests/test_scaffolds/fixture_scaffold/+package+/static/footerbg.png
  77. BIN tests/test_scaffolds/fixture_scaffold/+package+/static/headerbg.png
  78. +0 −8 tests/test_scaffolds/fixture_scaffold/+package+/static/ie6.css
  79. BIN tests/test_scaffolds/fixture_scaffold/+package+/static/middlebg.png
  80. +0 −65 tests/test_scaffolds/fixture_scaffold/+package+/static/pylons.css
  81. BIN tests/test_scaffolds/fixture_scaffold/+package+/static/pyramid-small.png
  82. BIN tests/test_scaffolds/fixture_scaffold/+package+/static/pyramid.png
  83. BIN tests/test_scaffolds/fixture_scaffold/+package+/static/transparent.gif
  84. +0 −76 tests/test_scaffolds/fixture_scaffold/+package+/templates/mytemplate.pt_tmpl
  85. 0 tests/test_scaffolds/fixture_scaffold/+package+/test_no_content.py_tmpl
  86. +0 −16 tests/test_scaffolds/fixture_scaffold/+package+/tests.py_tmpl
  87. +0 −2 tests/test_scaffolds/fixture_scaffold/+package+/views.py_tmpl
  88. +0 −4 tests/test_scaffolds/fixture_scaffold/CHANGES.txt_tmpl
  89. +0 −2 tests/test_scaffolds/fixture_scaffold/MANIFEST.in_tmpl
  90. +0 −1 tests/test_scaffolds/fixture_scaffold/README.txt_tmpl
  91. +0 −45 tests/test_scaffolds/fixture_scaffold/development.ini_tmpl
  92. +0 −44 tests/test_scaffolds/fixture_scaffold/production.ini_tmpl
  93. +0 −38 tests/test_scaffolds/fixture_scaffold/setup.py_tmpl
  94. +0 −574 tests/test_scaffolds/test_copydir.py
  95. +0 −22 tests/test_scaffolds/test_init.py
  96. +0 −174 tests/test_scaffolds/test_template.py
  97. +0 −409 tests/test_scripts/test_pcreate.py
  98. +0 −36 tox.ini
View
@@ -2,8 +2,6 @@
source =
pyramid
tests
omit =
src/pyramid/scaffolds/tests.py
[paths]
source =
View
@@ -10,9 +10,6 @@ ignore =
W504
exclude =
src/pyramid/compat.py
src/pyramid/scaffolds/alchemy
src/pyramid/scaffolds/starter
src/pyramid/scaffolds/zodb
tests/fixtures
tests/pkgs
tests/test_config/pkgs
View
@@ -45,11 +45,6 @@ In order to add a feature to Pyramid:
- The feature must not add unnecessary dependencies (where "unnecessary" is of
course subjective, but new dependencies should be discussed).
The above requirements are relaxed for scaffolding dependencies. If a scaffold
has an install-time dependency on something that doesn't work on a particular
platform, that caveat should be spelled out clearly in *its* documentation
(within its `docs/` directory).
Coding Style
------------
@@ -105,13 +100,6 @@ Running Tests
Specifying tests / selecting tests":
https://docs.pytest.org/en/latest/usage.html#specifying-tests-selecting-tests
- Functional tests related to the "scaffolds" (starter, zodb, alchemy) which
create a virtual environment, install the scaffold package and its
dependencies, start a server, and hit a URL on the server, can be run like
so:
$ tox -e{py27,py34,py35,py36,py37,pypy}-scaffolds
Test Coverage
-------------
View
@@ -1005,15 +1005,6 @@ Glossary
:term:`cookiecutter`. For more information, see
https://docs.pylonsproject.org/projects/pyramid_debugtoolbar/en/latest/.
scaffold
A project template that generates some of the major parts of a Pyramid
application and helps users to quickly get started writing larger
applications. Scaffolds are usually used via the ``pcreate`` command.
.. deprecated:: 1.8
.. seealso:: See also :term:`cookiecutter`.
pyramid_exclog
A package which logs Pyramid application exception (error) information
to a standard Python logger. This add-on is most useful when
@@ -1162,8 +1153,6 @@ Glossary
``pyramid-cookiecutter-alchemy`` and ``pyramid-cookiecutter-zodb`` are no longer supported.
Use ``pyramid-cookiecutter-starter`` going forward.
.. seealso:: See also :term:`scaffold`.
coverage
A measurement of code coverage, usually expressed as a percentage of which lines of code have been executed over which lines are executable, typically run during test execution.
@@ -1131,6 +1131,6 @@ start with either ``foo`` or ``bar``:
reload_assets False
prevent_http_cache False
Pyramid's ``pserve``, ``pcreate``, ``pshell``, ``prequest``, ``ptweens``, and
Pyramid's ``pserve``, ``pshell``, ``prequest``, ``ptweens``, and
other ``p*`` scripts are implemented as console scripts. When you invoke one
of those, you are using a console script.

This file was deleted.

Oops, something went wrong.
@@ -1,6 +1,7 @@
We specifically use relative package references where possible so this demo
works even if the user names their package (in the '$VENV/bin/pcreate -s
zodb ...' step) something other than 'tutorial'.
works even if the user names their package (in the
'cookiecutter gh:Pylons/pyramid-cookiecutter-starter' step) something other
than 'tutorial'.
Specifically:
@@ -9,5 +10,5 @@ Specifically:
page templates.
Direct uses of the package name, like in __init__.py 'config.scan()'
statements, are already adjusted by the paster/pcreate, so we don't have to
statements, are already adjusted by the cookiecutter, so we don't have to
worry about them.
View
@@ -110,14 +110,9 @@ def readfile(name):
tests_require=tests_require,
test_suite="tests",
entry_points="""\
[pyramid.scaffold]
starter=pyramid.scaffolds:StarterProjectTemplate
zodb=pyramid.scaffolds:ZODBProjectTemplate
alchemy=pyramid.scaffolds:AlchemyProjectTemplate
[pyramid.pshell_runner]
python=pyramid.scripts.pshell:python_shell_runner
[console_scripts]
pcreate = pyramid.scripts.pcreate:main
pserve = pyramid.scripts.pserve:main
pshell = pyramid.scripts.pshell:main
proutes = pyramid.scripts.proutes:main

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit 4aa2eb5

Please sign in to comment.