-
Notifications
You must be signed in to change notification settings - Fork 33
/
setup.cfg
66 lines (60 loc) · 2.18 KB
/
setup.cfg
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
[metadata]
license_file = LICENSE
name = asttokens
author = Dmitry Sagalovskiy, Grist Labs
author_email = dmitry@getgrist.com
license = Apache 2.0
description = Annotate AST trees with source code positions
keywords = code, ast, parse, tokenize, refactor
url = https://github.com/gristlabs/asttokens
long_description = file: README.rst
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Compilers
Topic :: Software Development :: Interpreters
Topic :: Software Development :: Pre-processors
Environment :: Console
Operating System :: OS Independent
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
[options]
packages = asttokens
install_requires =
six >= 1.12.0
typing; python_version < "3.5"
setup_requires = setuptools>=44; setuptools_scm[toml]>=3.4.3
[options.extras_require]
astroid =
astroid >=1, <2; python_version < "3"
astroid >=2, <4; python_version >= "3"
test =
astroid >=1, <2; python_version < "3"
astroid >=2, <4; python_version >= "3"
pytest
pytest-cov
pytest-xdist
[options.package_data]
asttokens = py.typed
[bdist_wheel]
# This flag says that the code is written to work on both Python 2 and Python
# 3. If at all possible, it is good practice to do this. If you cannot, you
# will need to generate wheels for each Python version that you support.
universal=1
[tool:pytest]
addopts = --disable-warnings --ignore=tests/testdata --strict-markers -m 'not slow'
markers =
slow: marks tests as slow (deselected by default)