Setup files

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
Yohann D'ANELLO 2021-08-17 19:57:42 +02:00
parent a830551258
commit 595262920a
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
5 changed files with 47 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
__pycache__
*.egg-info
*.pyc
*.txt

2
MANIFEST.in Normal file
View File

@ -0,0 +1,2 @@
# Include source code and certificates
recursive-include pscheck *.py *.crt

7
pscheck/__main__.py Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env python
from pscheck import pscheck
if __name__ == '__main__':
pscheck.main()

32
setup.cfg Normal file
View 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

5
setup.py Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env python3
from setuptools import setup
setup()