-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update setup.py for setuptools 69 (#13)
- Loading branch information
1 parent
8e24eec
commit bfdf958
Showing
5 changed files
with
36 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
[project] | ||
name = "parsing" | ||
description = "LR(1) parser generator for Python" | ||
description = "LR(1) parser generator for Python and CFSM and GLR parser drivers" | ||
requires-python = ">=3.7.0" | ||
dynamic = ["version"] | ||
dynamic = ["version", "dependencies", "optional-dependencies"] | ||
license = { file = "LICENSE" } | ||
authors = [{ name = "Jason Evans", email = "[email protected]" }] | ||
readme = { file = "README.rst", content-type = "text/x-rst" } | ||
classifiers = [ | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 3', | ||
'Topic :: Software Development :: Compilers', | ||
'Topic :: Text Processing :: General', | ||
] | ||
|
||
[build-system] | ||
requires = ["setuptools>=42", "wheel"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,6 @@ | |
_ROOT = pathlib.Path(__file__).parent | ||
|
||
|
||
with open(str(_ROOT / "README.rst")) as f: | ||
readme = f.read() | ||
|
||
|
||
with open(str(_ROOT / "parsing" / "_version.py")) as f: | ||
for line in f: | ||
if line.startswith("__version__ ="): | ||
|
@@ -88,26 +84,8 @@ def finalize_options(self) -> None: | |
|
||
|
||
setup( | ||
name="parsing", | ||
version=VERSION, | ||
python_requires=">=3.7.0", | ||
url="http://www.canonware.com/Parsing/", | ||
license="MIT", | ||
author="Jason Evans", | ||
author_email="[email protected]", | ||
description="A pure-Python module that implements an LR(1) " | ||
"parser generator, as well as CFSM and GLR parser drivers.", | ||
long_description=readme, | ||
long_description_content_type="text/x-rst", | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Software Development :: Compilers", | ||
"Topic :: Text Processing :: General", | ||
], | ||
packages=["parsing", "parsing.tests", "parsing.tests.specs"], | ||
package_data={"parsing": ["py.typed"]}, | ||
setup_requires=setup_requires, | ||
|