forked from italia/eudi-wallet-it-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
62 lines (57 loc) · 1.94 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
import re
from glob import glob
from setuptools import setup
def readme():
with open('README.md') as f:
return f.read()
_pkg_name = 'pyeudiw'
with open(f'{_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="Python toolchain for building an OpenID4VP RP with a SATOSA backend compliant to the Italian Wallet Solution.",
long_description=readme(),
long_description_content_type='text/markdown',
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules"
],
url='https://github.com/italia/eudi-wallet-it-python',
author='Giuseppe De Marco',
author_email='demarcog83@gmail.com',
license='License :: OSI Approved :: Apache Software License',
# scripts=[f'{_pkg_name}/bin/{_pkg_name}'],
packages=[f"{_pkg_name}"],
package_dir={f"{_pkg_name}": f"{_pkg_name}"},
package_data={f"{_pkg_name}": [
i.replace(f'{_pkg_name}/', '')
for i in glob(f'{_pkg_name}/**', recursive=True)
]
},
install_requires=[
"cryptojwt>=1.9,<1.10",
"pydantic>=1.8,<2.11",
"pyqrcode>=1.2,<1.3",
"pem>=23.1,<23.2"
],
extra_require={
"satosa": [
"Pillow>=10.0.0,<10.1",
"device_detector>=5.0,<6",
"satosa>=8.4,<8.6",
"jinja2>=3.0,<4",
"pymongo>=4.4.1,<4.5",
"requests>=2.2,<2.4",
"pymdoccbor @ git+https://github.com/peppelinux/pyMDOC-CBOR.git"
],
"federation": [
"asyncio>=4,<4.1",
"aiohttp>=3.8,<3.9"
]
}
)