summaryrefslogtreecommitdiff
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
authorJeremy Stanley <fungi@yuggoth.org>2017-12-05 17:56:10 +0000
committerJeremy Stanley <fungi@yuggoth.org>2017-12-05 17:56:10 +0000
commit7af7f8a68ea4b0f7d45a739273684832fa609935 (patch)
treec1c021993b3a2d3687e649f8dc0fb46785fb6805 /setuptools/command/egg_info.py
parentdf2246449c271c07586bcecc3eaa36e9b0e94e3d (diff)
downloadpython-setuptools-git-7af7f8a68ea4b0f7d45a739273684832fa609935.tar.gz
Document project_urls setup parameter
Add an entry to the Setuptools usage documentation for the project_urls dict, and include it in the "advanced" project example. While at it, adjust the dogfooding use in Setuptools' own setup.py to use HTTPS for the Documentation URL and drop redundant entries for Bug Tracker and Source Code. Also remove a no-op attribute reassignment from egg_info.py.
Diffstat (limited to 'setuptools/command/egg_info.py')
-rwxr-xr-xsetuptools/command/egg_info.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index c8b2bd17..a1d41b27 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -597,7 +597,6 @@ def write_pkg_info(cmd, basename, filename):
metadata = cmd.distribution.metadata
metadata.version, oldver = cmd.egg_version, metadata.version
metadata.name, oldname = cmd.egg_name, metadata.name
- metadata.project_urls = cmd.distribution.metadata.project_urls
metadata.long_description_content_type = getattr(
cmd.distribution,
'long_description_content_type'