setup.py 1.32 KB
Newer Older
1 2
#!/usr/bin/env python

3
import os
4

5
from setuptools import setup
6

7 8
with open('README.rst', 'r') as f:
    readme = f.read()
9

10 11

def get_packages(package):
12 13 14 15
    return [
        dirpath for dirpath, dirnames, filenames in os.walk(package)
        if os.path.exists(os.path.join(dirpath, '__init__.py'))
    ]
16 17


18 19
setup(
    name='djoser',
20
    version='1.2.1',
21
    packages=get_packages('djoser'),
22 23 24 25
    license='MIT',
    author='SUNSCRAPERS',
    description='REST version of Django authentication system.',
    author_email='info@sunscrapers.com',
26
    long_description=readme,
27
    install_requires=['django-templated-mail'],
28 29 30
    include_package_data=True,
    url='https://github.com/sunscrapers/djoser',
    classifiers=[
31
        'Development Status :: 5 - Production/Stable',
32
        'Framework :: Django',
33
        'Framework :: Django :: 1.11',
34 35
        'Framework :: Django :: 2.0',
        'Framework :: Django :: 2.1',
36 37 38 39
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
40 41 42 43
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
44
        'Programming Language :: Python :: 3.7',
45 46
    ]
)