update setup.py to version 0.5, (switched to wsgi dev server

Commit 1aed081 · patx · 01/24/2025 at 7:27AM

Changeset
1aed081b8b6dcef1ca0c961a4d2e2794333468e4
Parents
02546ea3e096296a30b176e42d03c7a6d7d26b5d

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/docs/new.html b/docs/new.html
deleted file mode 100644
index cea0bb6..0000000
--- a/docs/new.html
+++ /dev/null
@@ -1,147 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <link rel="shortcut icon" href="https://cherrypy.dev/images/favicon.gif" type="image/x-icon">
-    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&family=Roboto:wght@400;700&display=swap" rel="stylesheet">
-    <title>MicroPie - An ultra-micro Python web framework</title>
-    <style>
-        body {
-            font-family: 'Roboto', sans-serif;
-            margin: 0;
-            padding: 0;
-            color: #333;
-            background: #f4f4f4;
-            transition: background 0.3s ease, color 0.3s ease;
-        }
-        .container {
-            max-width: 800px;
-            margin: 50px auto;
-            background: #fff;
-            padding: 40px;
-            border-radius: 15px;
-            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
-            text-align: center;
-        }
-        h1, h2 {
-            color: #B22222;
-            font-weight: 700;
-        }
-        p {
-            font-size: 18px;
-            line-height: 1.6;
-            color: #555;
-        }
-        a {
-            color: #B22222;
-            text-decoration: none;
-            font-weight: 600;
-            transition: color 0.3s ease;
-        }
-        a:hover {
-            color: #8B0000;
-            border-bottom: 1px dotted #B22222;
-        }
-        pre {
-            background: #272822;
-            color: #f8f8f2;
-            padding: 20px;
-            border-radius: 10px;
-            text-align: left;
-            overflow-x: auto;
-            font-size: 1.1em;
-        }
-        .button {
-            display: inline-block;
-            background: #B22222;
-            color: #fff;
-            padding: 15px 30px;
-            border-radius: 30px;
-            font-size: 18px;
-            font-weight: 600;
-            box-shadow: 0 5px 15px rgba(178, 34, 34, 0.3);
-            transition: all 0.3s ease;
-        }
-        .button:hover {
-            background: white;
-            border: 2px solid #B22222;
-            color: #B22222;
-        }
-        .dark-mode {
-            background: #222;
-            color: #f4f4f4;
-        }
-        .dark-mode .container {
-            background: #333;
-            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
-        }
-        .dark-mode a {
-            color: #ff6347;
-        }
-        .dark-mode pre {
-            background: #1e1e1e;
-        }
-        .toggle-btn {
-            position: fixed;
-            top: 20px;
-            right: 20px;
-            cursor: pointer;
-            background: #B22222;
-            color: #fff;
-            padding: 10px 20px;
-            border-radius: 20px;
-            font-weight: 600;
-            border: none;
-            outline: none;
-            transition: background 0.3s ease;
-        }
-        .toggle-btn:hover {
-            background: #8B0000;
-        }
-        @media (max-width: 768px) {
-            .container {
-                padding: 20px;
-            }
-            .button {
-                max-width: 100%;
-                text-align: center;
-            }
-        }
-    </style>
-</head>
-<body>
-    <button class="toggle-btn" onclick="toggleDarkMode()">Toggle Dark Mode</button>
-    <div class="container">
-        <div class="logo">
-            <img src="logo.png" alt="MicroPie logo" style="max-width: 100%;">
-        </div>
-        <p><strong>MicroPie is an ultra-lightweight Python web framework</strong> that gets out of your way, letting you build fast and dynamic web apps with ease.
-        Inspired by <a href="https://cherrypy.dev/">CherryPy</a> and licensed under the BSD three-clause license.</p>
-
-        <h2>MicroPie is Fun</h2>
-        <pre><code>
-from MicroPie import Server
-
-class MyApp(Server):
-    def index(self):
-        return 'Hello World!'
-
-MyApp().run()
-        </code></pre>
-
-        <h2>Easy to Install</h2>
-        <pre><code>$ pip install micropie</code></pre>
-
-        <p><br><br>
-        <a href="https://github.com/patx/micropie" class="button">View source code, examples and documentation on GitHub</a>
-        </p>
-    </div>
-    <script>
-        function toggleDarkMode() {
-            document.body.classList.toggle('dark-mode');
-        }
-    </script>
-</body>
-</html>
-
diff --git a/setup.py b/setup.py
index 8025076..9ded8d8 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@
 MicroPie
 --------
 
-MicroPie is lightweight, fast, and simple micro web framework inspired by CherryPy. And it's BSD licensed!
+MicroPie is lightweight, fast, and simple micro WSGI framework inspired by CherryPy. And it's BSD licensed!
 
 
 MicroPie is Fun
@@ -38,7 +38,7 @@ Links
 from distutils.core import setup
 
 setup(name="MicroPie",
-    version="0.4",
+    version="0.5",
     description="A ultra micro web framework w/ Jinja2.",
     long_description=__doc__,
     author="Harrison Erd",