|
| 1 | +[build-system] |
| 2 | +requires = ["hatchling"] |
| 3 | +build-backend = "hatchling.build" |
| 4 | + |
| 5 | +[project] |
| 6 | +requires-python = ">=3.5" |
| 7 | +name = "mocket" |
| 8 | +description = "Socket Mock Framework - for all kinds of socket animals, web-clients included - with gevent/asyncio/SSL support" |
| 9 | +readme = { file = "README.rst", content-type = "text/x-rst" } |
| 10 | +license = { file = "LICENSE" } |
| 11 | +authors = [{ name = "Giorgio Salluzzo", email = "giorgio.salluzzo@gmail.com" }] |
| 12 | +urls = { github = "https://github.com/mindflayer/python-mocket" } |
| 13 | +classifiers = [ |
| 14 | + "Development Status :: 6 - Mature", |
| 15 | + "Intended Audience :: Developers", |
| 16 | + "Operating System :: OS Independent", |
| 17 | + "Programming Language :: Python :: 3.7", |
| 18 | + "Programming Language :: Python :: 3.8", |
| 19 | + "Programming Language :: Python :: 3.9", |
| 20 | + "Programming Language :: Python :: 3.10", |
| 21 | + "Programming Language :: Python :: 3.11", |
| 22 | + "Programming Language :: Python :: Implementation :: CPython", |
| 23 | + "Programming Language :: Python :: Implementation :: PyPy", |
| 24 | + "Topic :: Software Development", |
| 25 | + "Topic :: Software Development :: Testing", |
| 26 | + "License :: OSI Approved :: BSD License", |
| 27 | +] |
| 28 | +dependencies = [ |
| 29 | + "python-magic>=0.4.5", |
| 30 | + "decorator>=4.0.0", |
| 31 | + "urllib3>=1.25.3", |
| 32 | + "httptools", |
| 33 | +] |
| 34 | +dynamic = ["version"] |
| 35 | + |
| 36 | +[project.optional-dependencies] |
| 37 | +test = [ |
| 38 | + "pre-commit", |
| 39 | + "pytest", |
| 40 | + "pytest-cov", |
| 41 | + "pytest-asyncio", |
| 42 | + "asgiref", |
| 43 | + "requests", |
| 44 | + "redis", |
| 45 | + "gevent", |
| 46 | + "sure", |
| 47 | + "pook", |
| 48 | + "flake8", |
| 49 | + "xxhash", |
| 50 | + "aiohttp", |
| 51 | + "httpx", |
| 52 | + "pipfile", |
| 53 | + "build", |
| 54 | + "twine", |
| 55 | + "fastapi", |
| 56 | + "wait-for-it", |
| 57 | +] |
| 58 | +speedups = [ |
| 59 | + 'xxhash;platform_python_implementation=="CPython"', |
| 60 | + 'xxhash-cffi;platform_python_implementation=="PyPy"', |
| 61 | +] |
| 62 | +pook = [ |
| 63 | + "pook>=0.2.1", |
| 64 | +] |
| 65 | + |
| 66 | +[tool.hatch.version] |
| 67 | +path = "mocket/__init__.py" |
| 68 | + |
| 69 | +[tool.hatch.build] |
| 70 | +ignore-vcs = true |
| 71 | + |
| 72 | +[tool.hatch.build.targets.sdist] |
| 73 | +include = [ |
| 74 | + "run_tests.py", |
| 75 | + "README.rst", |
| 76 | + "LICENSE", |
| 77 | + "pyproject.toml", |
| 78 | + "mocket/", |
| 79 | + "tests/", |
| 80 | +] |
0 commit comments