added setup.py to upload to pypi

Commit a729266 · patx · 2025-01-19T12:56:03-05:00

Changeset
a7292665674906625db9d52fa8fe3f912b4a76ba
Parents
1798e1b9ffd2b8ca62fc1c3d2b356d0e8c951fe4

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..cc39fc2
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,55 @@
+"""
+MicroPie
+--------
+
+MicroPie is lightweight, fast, and simple micro web framework inspired by CherryPy and Flask. And it's BSD licensed!
+
+
+MicroPie is Fun
+```````````````
+
+::
+
+    from MicroPie import Server
+
+    class MyApp(Server):
+
+        def index(self):
+            return 'Hello world!'
+
+    MyApp().run()
+
+
+And Easy to Install
+```````````````````
+
+::
+
+    $ pip install micropie
+
+
+Links
+`````
+
+* `Website <https://patx.github.io/micropie>`_
+* `Github Repo <https://github.com/patx/micropie>`_
+"""
+
+from distutils.core import setup
+
+setup(name="MicroPie",
+    version="0.1",
+    description="A ultra micro web framework w/ Jinja2.",
+    long_description=__doc__,
+    author="Harrison Erd",
+    author_email="[email protected]",
+    license="three-clause BSD",
+    url="http://github.com/patx/micropie",
+    classifiers = [
+        "Programming Language :: Python",
+        "License :: OSI Approved :: BSD License",
+        "Intended Audience :: Developers"],
+    py_modules=['MicroPie'],
+    install_requires=['jinja2'],
+)
+