From 3f03a368f39e72fad3e43456cd6883aff41d9cb2 Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 11 Sep 2019 09:07:10 +0530 Subject: [PATCH] Covert to package + add setup.py --- Pipfile => etcd3_wrapper/Pipfile | 0 Pipfile.lock => etcd3_wrapper/Pipfile.lock | 0 __init__.py => etcd3_wrapper/__init__.py | 0 etcd_wrapper.py => etcd3_wrapper/etcd_wrapper.py | 0 setup.py | 10 ++++++++++ 5 files changed, 10 insertions(+) rename Pipfile => etcd3_wrapper/Pipfile (100%) rename Pipfile.lock => etcd3_wrapper/Pipfile.lock (100%) rename __init__.py => etcd3_wrapper/__init__.py (100%) rename etcd_wrapper.py => etcd3_wrapper/etcd_wrapper.py (100%) create mode 100644 setup.py diff --git a/Pipfile b/etcd3_wrapper/Pipfile similarity index 100% rename from Pipfile rename to etcd3_wrapper/Pipfile diff --git a/Pipfile.lock b/etcd3_wrapper/Pipfile.lock similarity index 100% rename from Pipfile.lock rename to etcd3_wrapper/Pipfile.lock diff --git a/__init__.py b/etcd3_wrapper/__init__.py similarity index 100% rename from __init__.py rename to etcd3_wrapper/__init__.py diff --git a/etcd_wrapper.py b/etcd3_wrapper/etcd_wrapper.py similarity index 100% rename from etcd_wrapper.py rename to etcd3_wrapper/etcd_wrapper.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..50286bf --- /dev/null +++ b/setup.py @@ -0,0 +1,10 @@ +from setuptools import setup + +setup( + name='etcd3_wrapper', + version='1.0', + description='A wrapper for etcd3', + author='ungleich', + author_email='info@ungleich.ch', + packages=['etcd3_wrapper'] #same as name +)