[llvm-commits] [zorg] r125848 - in /zorg/trunk/llvmlab: ./ README.txt llvmlab/ llvmlab/__init__.py llvmlab/ui/ llvmlab/ui/__init__.py llvmlab/ui/app.py setup.py
Daniel Dunbar
daniel at zuster.org
Fri Feb 18 08:40:08 PST 2011
Author: ddunbar
Date: Fri Feb 18 10:40:07 2011
New Revision: 125848
URL: http://llvm.org/viewvc/llvm-project?rev=125848&view=rev
Log:
llvmlab: Start sketching lab.llvm.org web app.
- Let's try a web app with Flask, eh?
Added:
zorg/trunk/llvmlab/
zorg/trunk/llvmlab/README.txt
zorg/trunk/llvmlab/llvmlab/
zorg/trunk/llvmlab/llvmlab/__init__.py
zorg/trunk/llvmlab/llvmlab/ui/
zorg/trunk/llvmlab/llvmlab/ui/__init__.py
zorg/trunk/llvmlab/llvmlab/ui/app.py
zorg/trunk/llvmlab/setup.py
Added: zorg/trunk/llvmlab/README.txt
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/llvmlab/README.txt?rev=125848&view=auto
==============================================================================
--- zorg/trunk/llvmlab/README.txt (added)
+++ zorg/trunk/llvmlab/README.txt Fri Feb 18 10:40:07 2011
@@ -0,0 +1,5 @@
+======================
+ lab.llvm.org Web App
+======================
+
+This directory and its subdirectories contain the lab.llvm.org web app.
Added: zorg/trunk/llvmlab/llvmlab/__init__.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/llvmlab/llvmlab/__init__.py?rev=125848&view=auto
==============================================================================
--- zorg/trunk/llvmlab/llvmlab/__init__.py (added)
+++ zorg/trunk/llvmlab/llvmlab/__init__.py Fri Feb 18 10:40:07 2011
@@ -0,0 +1,6 @@
+__author__ = 'Daniel Dunbar'
+__email__ = 'daniel at zuster.org'
+__versioninfo__ = (0, 1, 0)
+__version__ = '.'.join(map(str, __versioninfo__)) + 'dev'
+
+__all__ = []
Added: zorg/trunk/llvmlab/llvmlab/ui/__init__.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/llvmlab/llvmlab/ui/__init__.py?rev=125848&view=auto
==============================================================================
--- zorg/trunk/llvmlab/llvmlab/ui/__init__.py (added)
+++ zorg/trunk/llvmlab/llvmlab/ui/__init__.py Fri Feb 18 10:40:07 2011
@@ -0,0 +1 @@
+__all__ = []
Added: zorg/trunk/llvmlab/llvmlab/ui/app.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/llvmlab/llvmlab/ui/app.py?rev=125848&view=auto
==============================================================================
--- zorg/trunk/llvmlab/llvmlab/ui/app.py (added)
+++ zorg/trunk/llvmlab/llvmlab/ui/app.py Fri Feb 18 10:40:07 2011
@@ -0,0 +1,9 @@
+from flask import Flask
+app = Flask(__name__)
+
+ at app.route('/')
+def index():
+ return "Ceci n'est pas un laboratoire."
+
+if __name__ == '__main__':
+ app.run()
Added: zorg/trunk/llvmlab/setup.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/llvmlab/setup.py?rev=125848&view=auto
==============================================================================
--- zorg/trunk/llvmlab/setup.py (added)
+++ zorg/trunk/llvmlab/setup.py Fri Feb 18 10:40:07 2011
@@ -0,0 +1,42 @@
+import llvmlab
+import os
+
+from setuptools import setup, find_packages
+
+# setuptools expects to be invoked from within the directory of setup.py, but it
+# is nice to allow:
+# python path/to/setup.py install
+# to work (for scripts, etc.)
+os.chdir(os.path.dirname(os.path.abspath(__file__)))
+
+setup(
+ name = "llvmlab",
+ version = llvmlab.__version__,
+
+ author = llvmlab.__author__,
+ author_email = llvmlab.__email__,
+ url = 'http://lab.llvm.org',
+ license = 'BSD',
+
+ description = "lab.llvm.org Web App",
+ keywords = 'web testing performance development llvm',
+
+ classifiers=[
+ 'Development Status :: 1 - Planning',
+ 'Environment :: Web Environment',
+ 'Intended Audience :: Developers',
+ ('License :: OSI Approved :: '
+ 'University of Illinois/NCSA Open Source License'),
+ 'Natural Language :: English',
+ 'Operating System :: OS Independent',
+ 'Progamming Language :: Python',
+ 'Topic :: Software Development :: Quality Assurance',
+ 'Topic :: Software Development :: Testing',
+ ],
+
+ zip_safe = False,
+
+ packages = find_packages(),
+
+ install_requires=['Flask'],
+)
More information about the llvm-commits
mailing list