Skip to content

Commit bb411e4

Browse files
committed
Package for PyPI
1 parent d89c8f7 commit bb411e4

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,5 @@ venv.bak/
102102

103103
# mypy
104104
.mypy_cache/
105+
106+
.pyenv

authtoken/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
name = 'authtoken'

setup.py

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import setuptools
2+
3+
with open('README.md') as fh:
4+
long_description = fh.read()
5+
6+
setuptools.setup(
7+
name='django-rest-authtoken',
8+
version='0.9',
9+
author='Pascal Wichmann',
10+
author_email='[email protected]',
11+
description='A simple auth token auth backend for Django Rest Framework storing cryptographically hashed tokens on server-side.',
12+
long_description=long_description,
13+
long_description_content_type='text/markdown',
14+
url='https://github.com/wichmannpas/django-rest-authtoken',
15+
packages=setuptools.find_packages(),
16+
classifiers=[
17+
'Programming Language :: Python :: 3',
18+
'License :: OSI Approved :: Apache Software License',
19+
'Operating System :: OS Independent',
20+
],
21+
)

0 commit comments

Comments
 (0)