Skip to content

Commit 1ade521

Browse files
committed
Moved the metadata into setup.cfg.
Added pyproject.toml. Version is now fetched from git tags.
1 parent fac5c08 commit 1ade521

File tree

3 files changed

+54
-58
lines changed

3 files changed

+54
-58
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[build-system]
2+
requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools_scm]

setup.cfg

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
[metadata]
2+
name = parso
3+
author = David Halter
4+
author_email = davidhalter88@gmail.com
5+
maintainer = David Halter
6+
maintainer_email = davidhalter88@gmail.com
7+
license = MIT
8+
description = A Python Parser
9+
long_description = file: README.rst, CHANGELOG.rst
10+
keywords = python, parser, parsing
11+
url = https://github.com/davidhalter/parso
12+
classifiers =
13+
Development Status :: 4 - Beta
14+
Environment :: Plugins
15+
Intended Audience :: Developers
16+
License :: OSI Approved :: MIT License
17+
Operating System :: OS Independent
18+
Programming Language :: Python :: 3
19+
Programming Language :: Python :: 3.6
20+
Programming Language :: Python :: 3.7
21+
Programming Language :: Python :: 3.8
22+
Programming Language :: Python :: 3.9
23+
Topic :: Software Development :: Libraries :: Python Modules
24+
Topic :: Text Editors :: Integrated Development Environments (IDE)
25+
Topic :: Utilities
26+
Typing :: Typed
27+
platforms = any
28+
29+
[options]
30+
packages = find:
31+
include_package_data = True
32+
python_requires = >=3.6
33+
34+
[options.packages.find]
35+
exclude =
36+
test
37+
test.*
38+
39+
[options.extras_require]
40+
testing = pytest<6.0.0; docopt
41+
qa = flake8==3.8.3; mypy==0.782
42+
43+
[options.package_data]
44+
parso =
45+
python/grammar*.txt
46+
py.typed
47+
*.pyi
48+
**/*.pyi
49+
150
[bdist_wheel]
251
universal=1
352

setup.py

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)