From be46cc1f1b60fe0c1b9eae147265a07dae40b4f4 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Fri, 17 Jun 2016 11:16:50 -0400 Subject: [PATCH] initial package structure from tutorial at https://python-packaging.readthedocs.io/en/latest/minimal.html --- .gitignore | 4 ++++ funniest/__init__.py | 2 ++ setup.py | 11 +++++++++++ 3 files changed, 17 insertions(+) create mode 100644 .gitignore create mode 100644 funniest/__init__.py create mode 100644 setup.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aea882f --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/build/ +/dist/ +*.pyc +/*.egg-info/ diff --git a/funniest/__init__.py b/funniest/__init__.py new file mode 100644 index 0000000..887fed4 --- /dev/null +++ b/funniest/__init__.py @@ -0,0 +1,2 @@ +def joke(): + return "The Call of Ktulu" diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..75c21c2 --- /dev/null +++ b/setup.py @@ -0,0 +1,11 @@ +from setuptools import setup + +setup(name = "funniest", + version = "0.0.1", + description = "my desc", + url = "http://the.url/", + author = "Me Myself", + author_email = "flyingcircus@example.com", + license = "MIT", + packages = ["funniest"], + zip_safe = False)