File: pyproject.toml

package info (click to toggle)
python-mastodon 2.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,836 kB
  • sloc: python: 9,438; makefile: 206; sql: 98; sh: 27
file content (78 lines) | stat: -rw-r--r-- 1,954 bytes parent folder | download
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[build-system]
requires = ["setuptools"]
build-backend= "setuptools.build_meta"

[project]
name = "Mastodon.py"
version = "2.1.3"
description = "Python wrapper for the Mastodon API"
readme = "README.rst"
authors = [
    { name = "Lorenz Diener", email = "lorenzd+mastodonpypypi@gmail.com" },
]
license = {text = "MIT"}
keywords = ["mastodon", "api", "microblogging"]
classifiers = [
    'Development Status :: 5 - Production/Stable',
    'Intended Audience :: Developers',
    'Topic :: Communications',
    'License :: OSI Approved :: MIT License',
    'Programming Language :: Python :: 2',
    'Programming Language :: Python :: 3',
]
dependencies = [
    'requests>=2.4.2',
    'python-dateutil',
    'python-magic-bin ; platform_system=="Windows"',
    'python-magic ; platform_system!="Windows"',
    'decorator>=4.0.0',
    'blurhash>=1.1.4',
]

[project.optional-dependencies]
webpush = [
    'http_ece>=1.0.5',
    'cryptography>=1.6.0',
]
blurhash = [
    'blurhash>=1.1.4',
]
grapheme = [
    'grapheme>=0.6.0',
]
test = [
    'pytest',
    'pytest-cov',
    'vcrpy',
    'pytest-recording',
    'pytest-mock',
    'requests-mock',
    'pytz',
    'pytest-retry'
]
test_old = [
    'pytest',
    'pytest-cov',
    'vcrpy',
    'pytest-recording',
    'pytest-mock',
    'requests-mock',
    'pytz',
]
docs = [
    'sphinx-rtd-theme',
]

[project.urls]
Repository="https://github.com/halcy/Mastodon.py"
Documentation="https://mastodonpy.readthedocs.io/"

[tool.pytest.ini_options]
addopts = "--cov=mastodon"

# Workaround for some "autodiscovery" issue in setuptools? maybe? I don't know. 
# setuptools and pyproject.toml docs seem to be intent on making everyone continue
# the proud lineage of everyone just cargo-culting their makefiles.
[tool.setuptools.packages.find]
where = ["."]  # list of folders that contain the packages (["."] by default)
include = ["mastodon*"]  # package names should match these glob patterns (["*"] by default)