Skip to content

Commit

Permalink
Moved the metadata into setup.cfg.
Browse files Browse the repository at this point in the history
Removed setup.py.
Added pyproject.toml
Version is now fetched from git tags.
  • Loading branch information
KOLANICH committed Feb 20, 2021
1 parent 1e0efb9 commit cce579f
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 34 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]
29 changes: 28 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
[metadata]
provides-extra = xpath
requires-dist =
requires-dist =
lxml>=3.3.5; extra == 'xpath'
name = astpath
author = H. Chase Stevens
author_email = chase@chasestevens.com
license = MIT
description = A query language for Python abstract syntax trees
long_description = file: README.md
long_description_content_type = text/markdown
keywords = xpath, xml, ast, asts, syntax, query
url = https://github.com/hchasestevens/astpath
classifiers =
Development Status :: 3 - Alpha
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Intended Audience :: Developers
Operating System :: OS Independent
License :: OSI Approved :: MIT License
Natural Language :: English

[options]
packages = astpath

[options.entry_points]
console_scripts = astpath = astpath.cli:main

[options.extras_require]
xpath = lxml>=3.3.5
33 changes: 0 additions & 33 deletions setup.py

This file was deleted.

0 comments on commit cce579f

Please sign in to comment.