Add setup.py

This commit is contained in:
jar3b 2018-07-06 18:58:40 +03:00
parent 94fc866891
commit 9463ef75e9

26
setup.py Normal file
View File

@ -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=''
)