From daade25117942c44d264ea5688dc1a9559db0454 Mon Sep 17 00:00:00 2001 From: Kevin Corbin Date: Fri, 20 Jul 2018 12:18:41 -0500 Subject: [PATCH 1/2] restructure for pypi packaging --- meraki/__init__.py | 0 meraki.py => meraki/meraki.py | 0 setup.py | 30 ++++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 meraki/__init__.py rename meraki.py => meraki/meraki.py (100%) create mode 100644 setup.py diff --git a/meraki/__init__.py b/meraki/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/meraki.py b/meraki/meraki.py similarity index 100% rename from meraki.py rename to meraki/meraki.py diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..f12e9243 --- /dev/null +++ b/setup.py @@ -0,0 +1,30 @@ +# coding: utf-8 +from setuptools import setup, find_packages # noqa: H301 +import io + +NAME = "meraki" +VERSION = "0.34" +DESCRIPTION = "python bindings for Meraki Dashboard API calls" +# To install the library, run the following +# +# python setup.py install +# +# prerequisite: setuptools +# http://pypi.python.org/pypi/setuptools + +REQUIRES = [ + "ipaddress", + "requests" +] + + +setup( + name=NAME, + version=VERSION, + description=DESCRIPTION, + url="https://github.com/meraki/dashboard-api-python", + install_requires=REQUIRES, + packages=find_packages(), + include_package_data=True, + zip_safe=False +) From ab586131c09c225f6a9b9d345323c6efaedb63f9 Mon Sep 17 00:00:00 2001 From: Kevin Corbin Date: Fri, 20 Jul 2018 12:27:04 -0500 Subject: [PATCH 2/2] remove unused import --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f12e9243..f72a716d 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ # coding: utf-8 from setuptools import setup, find_packages # noqa: H301 -import io + NAME = "meraki" VERSION = "0.34"