-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
42 lines (40 loc) · 1.25 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
from setuptools import find_packages, setup
with open("README.md", encoding="utf8") as f:
readme = f.read()
setup(
name="jupyterhub-tmpauthenticator",
version="1.0.0",
description="JupyterHub authenticator that hands out temporary accounts for everyone",
url="https://github.com/jupyterhub/tmpauthenticator",
author="Project Jupyter Contributors", # founded by Yuvi Panda
author_email="[email protected]",
license="3 Clause BSD",
long_description=readme,
long_description_content_type="text/markdown",
entry_points={
# Thanks to this, user are able to do:
#
# c.JupyterHub.authenticator_class = "tmp"
#
# ref: https://jupyterhub.readthedocs.io/en/4.0.0/reference/authenticators.html#registering-custom-authenticators-via-entry-points
#
"jupyterhub.authenticators": [
"tmp = tmpauthenticator:TmpAuthenticator",
],
},
packages=find_packages(),
python_requires=">=3.8",
install_require={
"jupyterhub>=2.3.0",
"traitlets",
},
extras_require={
"test": [
"aiohttp",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-jupyterhub",
],
},
)