Compare commits
1 Commits
595262920a
...
608dc99398
Author | SHA1 | Date | |
---|---|---|---|
608dc99398 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
__pycache__
|
__pycache__
|
||||||
|
*.egg-info
|
||||||
*.pyc
|
*.pyc
|
||||||
*.txt
|
*.txt
|
||||||
|
2
MANIFEST.in
Normal file
2
MANIFEST.in
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Include source code and certificates
|
||||||
|
recursive-include pscheck *.py *.crt
|
7
pscheck/__main__.py
Executable file
7
pscheck/__main__.py
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
from pscheck import pscheck
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
pscheck.main()
|
@ -181,4 +181,4 @@ def main():
|
|||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
qrcode = read_qrcode(args.file)
|
qrcode = read_qrcode(args.file)
|
||||||
analyse_qrcode(qrcode, args.full, not args.dontcheck)
|
exit(analyse_qrcode(qrcode, args.full, not args.dontcheck))
|
||||||
|
32
setup.cfg
Normal file
32
setup.cfg
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
[metadata]
|
||||||
|
name = pscheck
|
||||||
|
long_description = file: README.rst
|
||||||
|
long_description_content_type = text/markdown
|
||||||
|
description = Vérificateur de pass sanitaire
|
||||||
|
maintainer = Ÿnérant
|
||||||
|
maintainer_email = ynerant@crans.org
|
||||||
|
url = https://git.ynerant.fr/ynerant/pass-sanitaire-check
|
||||||
|
keywords = green, certificate, france, europe, covid, coronavirus
|
||||||
|
classifiers =
|
||||||
|
Development Status :: 4 - Beta
|
||||||
|
Operating System :: OS Independent
|
||||||
|
Programming Language :: Python :: 3.6
|
||||||
|
Programming Language :: Python :: 3.7
|
||||||
|
Programming Language :: Python :: 3.8
|
||||||
|
Programming Language :: Python :: 3.9
|
||||||
|
|
||||||
|
[options]
|
||||||
|
packages = find:
|
||||||
|
include_package_data = True
|
||||||
|
install_requires =
|
||||||
|
cbor2>=5.2.0
|
||||||
|
cryptography>=3.3.2
|
||||||
|
python_requires = >=3.6
|
||||||
|
|
||||||
|
[options.entry_points]
|
||||||
|
console_scripts =
|
||||||
|
pscheck = pscheck.pscheck:main
|
||||||
|
|
||||||
|
[bdist_wheel]
|
||||||
|
; pure python
|
||||||
|
universal = 1
|
Loading…
x
Reference in New Issue
Block a user