Skip to content
This repository was archived by the owner on Nov 2, 2022. It is now read-only.

Commit f58f54e

Browse files
committed
apply setup-py-upgrade
1 parent b3e0d6c commit f58f54e

File tree

3 files changed

+33
-33
lines changed

3 files changed

+33
-33
lines changed

exceptiongroup/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# This file is imported from __init__.py and exec'd from setup.py
1+
# This file is imported from __init__.py and AST-parsed from setuptools
22

33
__version__ = "0.0.0"

setup.cfg

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[metadata]
2+
name = exceptiongroup
3+
version = attr: exceptiongroup._version.__version__
4+
description = A way to represent multiple things going wrong at the same time, in Python
5+
url = https://github.com/python-trio/exceptiongroup
6+
long_description = file: README.rst
7+
author = Nathaniel J. Smith
8+
author_email = [email protected]
9+
license = MIT -or- Apache License 2.0
10+
keywords =
11+
async
12+
exceptions
13+
error handling
14+
classifiers =
15+
License :: OSI Approved :: MIT License
16+
License :: OSI Approved :: Apache Software License
17+
Framework :: Trio
18+
Framework :: AsyncIO
19+
Operating System :: POSIX :: Linux
20+
Operating System :: MacOS :: MacOS X
21+
Operating System :: Microsoft :: Windows
22+
Programming Language :: Python :: 3 :: Only
23+
Programming Language :: Python :: Implementation :: CPython
24+
Programming Language :: Python :: Implementation :: PyPy
25+
Intended Audience :: Developers
26+
27+
[options]
28+
packages = find:
29+
install_requires = trio
30+
python_requires = >=3.5

setup.py

+2-32
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,3 @@
1-
from setuptools import setup, find_packages
1+
from setuptools import setup
22

3-
exec(open("exceptiongroup/_version.py", encoding="utf-8").read())
4-
5-
LONG_DESC = open("README.rst", encoding="utf-8").read()
6-
7-
setup(
8-
name="exceptiongroup",
9-
version=__version__,
10-
description="A way to represent multiple things going wrong at the same time, in Python",
11-
url="https://github.com/python-trio/exceptiongroup",
12-
long_description=LONG_DESC,
13-
author="Nathaniel J. Smith",
14-
author_email="[email protected]",
15-
license="MIT -or- Apache License 2.0",
16-
packages=find_packages(),
17-
install_requires=["trio"],
18-
keywords=["async", "exceptions", "error handling"],
19-
python_requires=">=3.5",
20-
classifiers=[
21-
"License :: OSI Approved :: MIT License",
22-
"License :: OSI Approved :: Apache Software License",
23-
"Framework :: Trio",
24-
"Framework :: AsyncIO",
25-
"Operating System :: POSIX :: Linux",
26-
"Operating System :: MacOS :: MacOS X",
27-
"Operating System :: Microsoft :: Windows",
28-
"Programming Language :: Python :: 3 :: Only",
29-
"Programming Language :: Python :: Implementation :: CPython",
30-
"Programming Language :: Python :: Implementation :: PyPy",
31-
"Intended Audience :: Developers",
32-
],
33-
)
3+
setup()

0 commit comments

Comments
 (0)