Add setup.py
This commit is contained in:
parent
94fc866891
commit
9463ef75e9
26
setup.py
Normal file
26
setup.py
Normal 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=''
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user