Skip to content

Commit 5c8110d

Browse files
committed
ensure order of project urls
1 parent 10a77a5 commit 5c8110d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

setup.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# -*- coding: utf-8 -*-
33
import io
44
import re
5+
from collections import OrderedDict
6+
57
from setuptools import setup
68

79
with io.open('README.rst', 'rt', encoding='utf8') as f:
@@ -14,6 +16,11 @@
1416
name='Flask',
1517
version=version,
1618
url='https://www.palletsprojects.com/p/flask/',
19+
project_urls=OrderedDict((
20+
('Documentation', 'http://flask.pocoo.org/docs/'),
21+
('Code', 'https://github.com/pallets/pallets-sphinx-themes'),
22+
('Issue tracker', 'https://github.com/pallets/pallets-sphinx-themes/issues'),
23+
)),
1724
license='BSD',
1825
author='Armin Ronacher',
1926
author_email='[email protected]',
@@ -25,11 +32,6 @@
2532
include_package_data=True,
2633
zip_safe=False,
2734
platforms='any',
28-
project_urls={
29-
'Bug Tracker': 'https://github.com/pallets/flask/issues',
30-
'Documentation': 'http://flask.pocoo.org/',
31-
'Source Code': 'https://github.com/pallets/flask',
32-
},
3335
install_requires=[
3436
'Werkzeug>=0.14',
3537
'Jinja2>=2.10',

0 commit comments

Comments
 (0)