-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathsetup.py
68 lines (63 loc) · 2.42 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
"""Install jupyterhub-traefik-proxy
Usage:
pip install [-e] .
"""
from setuptools import find_packages, setup
with open("README.md", encoding="utf8") as f:
readme = f.read()
setup(
name="jupyterhub-traefik-proxy",
version="2.0.0.dev",
install_requires=open("requirements.txt").read().splitlines(),
extras_require={
"redis": ["redis"],
# etcd, consul clients are moving targets
# see https://github.com/jupyterhub/traefik-proxy/issues/155 for more
"consul": ["python-consul2"],
"etcd": ["etcdpy"],
"yaml": ["ruamel.yaml"],
"test": [
"jupyterhub-traefik-proxy[redis,etcd,consul,yaml]",
"certipy",
"notebook>=4.0",
"pytest",
"pytest-asyncio>=0.17,<0.23", # FIXME: unpin pytest-asyncio
"pytest-cov",
"websockets",
],
},
python_requires=">=3.8",
author="Project Jupyter Contributors",
author_email="jupyter@googlegroups.com",
url="https://jupyterhub-traefik-proxy.readthedocs.io",
project_urls={
"Documentation": "https://jupyterhub-traefik-proxy.readthedocs.io",
"Source": "https://github.com/jupyterhub/traefik-proxy/",
"Tracker": "https://github.com/jupyter/traefik-proxy/issues",
},
# this should be a whitespace separated string of keywords, not a list
keywords="jupyter jupyterhub traefik proxy",
description="JupyterHub proxy implementation with traefik",
long_description=readme,
long_description_content_type="text/markdown",
license="BSD",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
packages=find_packages(exclude=["performance", "tests"]),
include_package_data=True,
entry_points={
"jupyterhub.proxies": [
"traefik_consul = jupyterhub_traefik_proxy.consul:TraefikConsulProxy",
"traefik_etcd = jupyterhub_traefik_proxy.etcd:TraefikEtcdProxy",
"traefik_file = jupyterhub_traefik_proxy.fileprovider:TraefikFileProviderProxy",
"traefik_redis = jupyterhub_traefik_proxy.redis:TraefikRedisProxy",
"traefik_toml = jupyterhub_traefik_proxy.toml:TraefikTomlProxy",
]
},
)