erikrose / parsimonious

The fastest pure-Python PEG parser I can muster
MIT License
1.8k stars 126 forks source link

Moved the metadata from setup.py into setup.cfg #174

Closed KOLANICH closed 2 years ago

KOLANICH commented 3 years ago

(Soon to be) the fastest pure-Python PEG parser

In fact the fastest I have benchmarked.

KOLANICH commented 3 years ago

@erikrose

evanh commented 3 years ago

Can you clarify why you made this change?

KOLANICH commented 3 years ago

For better security when building packages or parsing their metadata without building somewhen in future.

KOLANICH commented 2 years ago
  1. about whether setup.cfg is preferred or pyproject.toml

setup.cfg is deprecated since PEP 621 being implemented in setuptools.

  1. Does this mean the end user needs to have these tools installed or just the person who builds the dist file and wheel?

Only for the one building packages. pyproject.toml is used when python packages are built from source. Wheels uave own metadata.