Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8685158

Browse filesBrowse files
committed
Use literal strings in setup.cfg
Due to https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html#metadata we cannot use the "attr:" type in the keywords author, author_email, maintainer, and maintainer_email. If we do not change it to literal strings, twine (or PyPI) complains about the metadata with the following error: HTTPError: 400 Client Error: 'attr: semver.__about__.__author_email__' is an invalid value for Author-email.
1 parent 5d192da commit 8685158
Copy full SHA for 8685158

File tree

1 file changed

+4
-4
lines changed
Filter options

1 file changed

+4
-4
lines changed

‎setup.cfg

Copy file name to clipboardExpand all lines: setup.cfg
+4-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ version = attr: semver.__about__.__version__
99
description = attr: semver.__about__.__description__
1010
long_description = file: README.rst
1111
long_description_content_type = text/x-rst
12-
author = attr: semver.__about__.__author__
13-
author_email = attr: semver.__about__.__author_email__
14-
maintainer = attr: semver.__about__.__maintainer__
15-
maintainer_email = attr: semver.__about__.__maintainer_email__
12+
author = Kostiantyn Rybnikov
13+
author_email = k-bx@k-bx.com
14+
maintainer = Sebastien Celles, Tom Schraitle
15+
maintainer_email = s.celles@gmail.com
1616
url = https://github.com/python-semver/python-semver
1717
download_url = https://github.com/python-semver/python-semver/downloads
1818
project_urls =

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.