Skip to content

Commit

Permalink
Moved the metadata into setup.cfg.
Browse files Browse the repository at this point in the history
Added pyproject.toml.
Version is now fetched from git tags.
  • Loading branch information
KOLANICH committed Feb 25, 2021
1 parent fac5c08 commit 1ade521
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 58 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build-system]
requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
49 changes: 49 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,52 @@
[metadata]
name = parso
author = David Halter
author_email = [email protected]
maintainer = David Halter
maintainer_email = [email protected]
license = MIT
description = A Python Parser
long_description = file: README.rst, CHANGELOG.rst
keywords = python, parser, parsing
url = https://github.com/davidhalter/parso
classifiers =
Development Status :: 4 - Beta
Environment :: Plugins
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Text Editors :: Integrated Development Environments (IDE)
Topic :: Utilities
Typing :: Typed
platforms = any

[options]
packages = find:
include_package_data = True
python_requires = >=3.6

[options.packages.find]
exclude =
test
test.*

[options.extras_require]
testing = pytest<6.0.0; docopt
qa = flake8==3.8.3; mypy==0.782

[options.package_data]
parso =
python/grammar*.txt
py.typed
*.pyi
**/*.pyi

[bdist_wheel]
universal=1

Expand Down
58 changes: 0 additions & 58 deletions setup.py

This file was deleted.

0 comments on commit 1ade521

Please sign in to comment.