|
| 1 | +# See PEP-517 and PEP-518 for details. |
| 2 | + |
| 3 | +[build-system] |
| 4 | +requires = ["setuptools", "setuptools_scm[toml]>=7", "wheel"] |
| 5 | +build-backend = "setuptools.build_meta" |
| 6 | + |
| 7 | +[project] |
| 8 | +name = "telepyth" |
| 9 | +description = "Telegram notifications in Python." |
| 10 | +license = {text = "MIT"} |
| 11 | +authors = [ |
| 12 | + {name = "Daniel Bershatsky", email = "daniel.bershatsky@skolkovotech.ru"}, |
| 13 | +] |
| 14 | +maintainers = [ |
| 15 | + {name = "Daniel Bershatsky", email = "daniel.bershatsky@skolkovotech.ru"}, |
| 16 | +] |
| 17 | +readme = {file = "README.md", content-type = "text/markdown"} |
| 18 | +classifiers = [ |
| 19 | + "Development Status :: 5 - Production/Stable", |
| 20 | + "Intended Audience :: Developers", |
| 21 | + "Intended Audience :: Information Technology", |
| 22 | + "Intended Audience :: Science/Research", |
| 23 | + "License :: OSI Approved :: MIT License", |
| 24 | + "Natural Language :: English", |
| 25 | + "Operating System :: Microsoft :: Windows", |
| 26 | + "Operating System :: POSIX", |
| 27 | + "Operating System :: Unix", |
| 28 | + "Operating System :: MacOS", |
| 29 | + "Programming Language :: Python", |
| 30 | + "Programming Language :: Python :: 3", |
| 31 | + "Programming Language :: Python :: 3.8", |
| 32 | + "Programming Language :: Python :: 3.9", |
| 33 | + "Programming Language :: Python :: 3.10", |
| 34 | + "Topic :: Scientific/Engineering", |
| 35 | + "Topic :: Scientific/Engineering :: Artificial Intelligence", |
| 36 | + "Topic :: Scientific/Engineering :: Information Analysis", |
| 37 | + "Topic :: Software Development", |
| 38 | + "Typing :: Typed", |
| 39 | +] |
| 40 | +dynamic = ["version"] |
| 41 | +dependencies = [] |
| 42 | +requires-python = ">=3.8,<4" |
| 43 | + |
| 44 | +[project.optional-dependencies] |
| 45 | +magic = ["ipython"] |
| 46 | +huggingface = ["transformers"] |
| 47 | + |
| 48 | +[project.scripts] |
| 49 | +telepyth = "telepyth.cli:main" |
| 50 | + |
| 51 | +[project.urls] |
| 52 | +Homepage = "https://github.com/daskol/telepyth" |
| 53 | +Repository = "https://github.com/daskol/telepyth.git" |
| 54 | + |
| 55 | +[tool.isort] |
| 56 | + |
| 57 | +[tool.mypy] |
| 58 | +ignore_missing_imports = true |
| 59 | +plugins = "numpy.typing.mypy_plugin" |
| 60 | +show_column_numbers = true |
| 61 | +show_error_codes = true |
| 62 | +show_error_context = false |
| 63 | + |
| 64 | +[tool.pytest.ini_options] |
| 65 | +minversion = "7.0" |
| 66 | +addopts = "-ra -q -m 'not slow'" |
| 67 | +testpaths = ["telepyth"] |
| 68 | +markers = [ |
| 69 | + "slow: marks tests as slow (deselect with '-m \"not slow\"')", |
| 70 | +] |
| 71 | +filterwarnings = ["ignore::DeprecationWarning"] |
| 72 | + |
| 73 | +[tool.setuptools] |
| 74 | +include-package-data = false |
| 75 | +platforms = ["Linux"] |
| 76 | +zip-safe = false |
| 77 | + |
| 78 | +[tool.setuptools.packages.find] |
| 79 | +include = ["telepyth*"] |
| 80 | + |
| 81 | +[tool.setuptools_scm] |
| 82 | +write_to = "telepyth/version.py" |
| 83 | + |
| 84 | +[tool.yapf] |
| 85 | +based_on_style = "pep8" |
0 commit comments