| | |
| | | description="""\ |
| | | Render Pyramid scaffolding to an output directory. |
| | | |
| | | Note: As of Pyramid 1.8, this command is deprecated. Use a specific |
| | | cookiecutter instead: |
| | | https://github.com/Pylons/?q=cookiecutter |
| | | Note: As of Pyramid 1.8, this command is deprecated. Use |
| | | pyramid-cookiecutter-starter instead: |
| | | https://github.com/Pylons/pyramid-cookiecutter-starter |
| | | """, |
| | | formatter_class=argparse.RawDescriptionHelpFormatter, |
| | | ) |
| | |
| | | try: |
| | | # use absolute imports |
| | | __import__(pkg_name, globals(), locals(), [], 0) |
| | | except ImportError as error: |
| | | except ImportError: |
| | | pkg_exists = False |
| | | if not pkg_exists: |
| | | return True |