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.
Fixed the submodule name to allow usage of non-installed tool.
  • Loading branch information
KOLANICH committed Feb 20, 2021
1 parent 1e0efb9 commit b0a12d6
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 36 deletions.
File renamed without changes.
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]
30 changes: 27 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
[metadata]
provides-extra = xpath
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.__main__: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 b0a12d6

Please sign in to comment.