Add project urls to dist and make links to https
@@ -44,7 +44,9 @@ classifiers = [
]
author = 'CherryPy Team'
author_email = 'team@cherrypy.org'
-url = 'http://www.cherrypy.org'
+url = 'https://www.cherrypy.org'
+repo_slug = 'cherrypy/{}'.format(name)
+repo_url = 'https://github.com/{}'.format(repo_slug)
cp_license = 'BSD'
packages = [
'cherrypy', 'cherrypy.lib',
@@ -89,7 +91,7 @@ extras_require = {
'memcached_session': ['python-memcached>=1.58'],
'xcgi': ['flup'],
- # http://docs.cherrypy.org/en/latest/advanced.html?highlight=windows#windows-console-events
+ # https://docs.cherrypy.org/en/latest/advanced.html?highlight=windows#windows-console-events
':sys_platform == "win32" and python_version != "3.4"': ['pywin32'],
':sys_platform == "win32" and python_version == "3.4"': ['pypiwin32==219'],
}
@@ -108,6 +110,14 @@ setup_params = dict(
author=author,
author_email=author_email,
url=url,
+ project_urls={
+ 'CI: AppVeyor': 'https://ci.appveyor.com/project/{}'.format(repo_slug),
+ 'CI: Travis': 'https://travis-ci.org/{}'.format(repo_slug),
+ 'CI: Circle': 'https://circleci.com/gh/{}'.format(repo_slug),
+ 'Docs: RTD': 'https://docs.cherrypy.org',
+ 'GitHub: issues': '{}/issues'.format(repo_url),
+ 'GitHub: repo': repo_url,
+ },
license=cp_license,
packages=packages,
entry_points={'console_scripts': ['cherryd = cherrypy.__main__:run']},
