-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
45 lines (37 loc) · 1.23 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
import re
from setuptools import find_packages
from setuptools import setup
__author__ = 'Roland Hedberg'
def readme():
with open("README.md") as f:
return f.read()
_pkg_name = "satosa_openid4vci"
with open(f'src/{_pkg_name}/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
setup(
name=_pkg_name,
version=version,
description="OpenID4VCI Credential Issuer implemented as a SATOSA Frontend",
long_description=readme(),
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
author="Roland Hedberg",
author_email="roland@catalogix.se",
license="Apache 2.0",
packages=find_packages(where="src"),
package_dir={"": "src"},
install_requires=[
"satosa>=8.0.0",
"openid4v",
"idpyoidc>=4.0.0",
],
)