mirror of
https://github.com/openziti/zrok.git
synced 2025-08-09 00:04:43 +02:00
small build changes
This commit is contained in:
@ -1 +1 @@
|
||||
3.0.46
|
||||
3.0.50
|
@ -1,19 +1,12 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
zrok
|
||||
|
||||
zrok client access # noqa: E501
|
||||
|
||||
OpenAPI spec version: 0.3.0
|
||||
|
||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
"""
|
||||
|
||||
from setuptools import setup, find_packages # noqa: H301
|
||||
import os
|
||||
|
||||
NAME = "zrok_sdk"
|
||||
VERSION = "1.0.0"
|
||||
VERSION = "dev"
|
||||
try:
|
||||
VERSION += '.dev' + os.environ['ZROK_VERSION']
|
||||
except KeyError:
|
||||
pass
|
||||
# To install the library, run the following
|
||||
#
|
||||
# python setup.py install
|
||||
@ -27,14 +20,14 @@ setup(
|
||||
name=NAME,
|
||||
version=VERSION,
|
||||
description="zrok",
|
||||
author_email="",
|
||||
url="",
|
||||
author_email="cameron.otts@netfoundry.io",
|
||||
url="https://zrok.io",
|
||||
python_requires='>=3.10',
|
||||
keywords=["Swagger", "zrok"],
|
||||
install_requires=REQUIRES,
|
||||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
long_description="""\
|
||||
zrok client access # noqa: E501
|
||||
Geo-scale, next-generation peer-to-peer sharing platform built on top of OpenZiti.
|
||||
"""
|
||||
)
|
||||
|
@ -25,7 +25,7 @@ def CreateShare(root: Root, request: model.ShareRequest) -> model.Share:
|
||||
raise Exception("invalid username:password pair: " + pair)
|
||||
|
||||
if request.OauthProvider != "":
|
||||
out.OauthProvider = model.AUTH_SCHEME_OAUTH
|
||||
out.auth_scheme = model.AUTH_SCHEME_OAUTH
|
||||
|
||||
try:
|
||||
zrok = root.Client()
|
||||
|
Reference in New Issue
Block a user