From 9463ef75e97b5f64ceb7a248a8f78cb087681ac7 Mon Sep 17 00:00:00 2001 From: jar3b Date: Fri, 6 Jul 2018 18:58:40 +0300 Subject: [PATCH] Add setup.py --- setup.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..738a573 --- /dev/null +++ b/setup.py @@ -0,0 +1,26 @@ +import os + +from setuptools import setup + + +def get_packages(package): + """ + Return root package and all sub-packages. + """ + return [dirpath + for dirpath, dirnames, filenames in os.walk(package) + if os.path.exists(os.path.join(dirpath, '__init__.py'))] + + +package = 'drf_uuid_auth' + +setup( + name=package, + version='0.0.1', + packages=get_packages(package), + url='https://gitlab.connectone.pro/jar3b/drf-uuid-auth', + license='MIT', + author='jar3b', + author_email='', + description='' +)