123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- import os
- import codecs
- from setuptools import setup, find_packages
- from drf_temptoken import __author__, __version__
- here = os.path.abspath(os.path.dirname(__file__))
- with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
- long_description = "\n" + fh.read()
- VERSION = __version__
- AUTHOR = __author__
- DESCRIPTION = 'DRF temporary token authentication'
- # Setting up
- setup(
- name="drf-temptoken",
- version=VERSION,
- author=AUTHOR,
- description=DESCRIPTION,
- url='https://notabug.org/kapustlo/drf-temptoken',
- long_description_content_type="text/markdown",
- long_description=long_description,
- packages=find_packages(),
- keywords=(
- 'python',
- 'python3',
- 'django',
- 'drf',
- 'djangorestframework',
- 'django rest framework',
- 'token',
- 'temptoken',
- 'temporary'
- ),
- classifiers=(
- "Framework :: Django",
- "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
- "Topic :: Internet :: WWW/HTTP",
- "Development Status :: 4 - Beta",
- "Intended Audience :: Developers",
- "Programming Language :: Python :: 3.8",
- "Operating System :: OS Independent",
- ),
- python_requires=">=3.8",
- install_requires=(
- 'django',
- 'djangorestframework'
- )
- )
|