rommedeserieux avatar rommedeserieux committed b850826

First commit. Somewhat working, but without any docs.

Comments (0)

Files changed (5)

+syntax: glob
+*.pyc
+*.pyo
+build
+dist
+*.egg
+*.egg-info
+from werkzeug.debug import DebuggedApplication
+from py_web_helloworld import app as application
+
+application.wsgi_app = DebuggedApplication(application.wsgi_app, evalex=False)

py_web_helloworld/__init__.py

+from flask import Flask
+
+app = Flask(__name__)
+app.config['PROPAGATE_EXCEPTIONS'] = True
+
+from . import views

py_web_helloworld/views.py

+from . import app
+
+@app.route('/')
+def index():
+    return 'Unyaaa!'
+from setuptools import setup, find_packages
+
+setup(
+    name="PyWebHelloworld",
+    version="0.1",
+    packages=find_packages(),
+    include_package_data=True,
+    install_requires=['Flask>=0.7.2'],
+)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.