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
|
#!/usr/bin/env python
from setuptools import setup, find_namespace_packages
setup(
name="proton-core",
version="0.7.0",
description="Proton Technologies API wrapper",
author="Proton Technologies",
author_email="contact@protonmail.com",
url="https://github.com/ProtonMail/python-proton-core",
install_requires=["requests", "bcrypt", "python-gnupg", "pyopenssl", "aiohttp"],
extras_require={
"test": ["pytest", "pyotp", "pytest-cov", "flake8"]
},
entry_points={
"proton_loader_keyring": [
"json = proton.keyring.textfile:KeyringBackendJsonFiles"
],
"proton_loader_transport": [
"requests = proton.session.transports.requests:RequestsTransport",
"alternativerouting = proton.session.transports.alternativerouting:AlternativeRoutingTransport",
"aiohttp = proton.session.transports.aiohttp:AiohttpTransport",
"auto = proton.session.transports.auto:AutoTransport",
],
"proton_loader_environment": [
"prod = proton.session.environments:ProdEnvironment",
],
"proton_loader_basicview": [
"cli = proton.views.basiccli:BasicCLIView"
]
},
packages=find_namespace_packages(include=['proton.*']),
include_package_data=True,
python_requires=">=3.9",
license="GPLv3",
platforms="OS Independent",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Security",
]
)
|