-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
45 lines (41 loc) · 1.38 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from setuptools import setup, find_packages
import re
with open('simplejwt/__init__.py') as version_file:
version = re.search(r"""__version__\s+=\s+(['"])(?P<version>.+?)\1""",
version_file.read()).group('version')
with open('README.md') as readme:
long_description = readme.read()
github = 'https://github.com/jmwri/simplejwt'
setup(
name='simplejwt',
packages=find_packages(),
version=version,
license='MIT',
description='A dead simple JWT library',
long_description=long_description,
long_description_content_type='text/markdown',
author='Jim Wright',
author_email='[email protected]',
url=github,
download_url='{github}/archive/{version}.tar.gz'.format(
github=github, version=version
),
keywords=['python', 'jwt', 'simple', 'simplejwt'],
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Operating System :: OS Independent',
],
install_requires=[
'typing',
],
)