Setup files
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
parent
a830551258
commit
608dc99398
|
@ -1,3 +1,4 @@
|
|||
__pycache__
|
||||
*.egg-info
|
||||
*.pyc
|
||||
*.txt
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
# Include source code and certificates
|
||||
recursive-include pscheck *.py *.crt
|
|
@ -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()
|
||||
|
||||
qrcode = read_qrcode(args.file)
|
||||
analyse_qrcode(qrcode, args.full, not args.dontcheck)
|
||||
exit(analyse_qrcode(qrcode, args.full, not args.dontcheck))
|
||||
|
|
|
@ -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…
Reference in New Issue