Skip to content

Commit a40d7a2

Browse files
committed
other/pack: Read package URL from module
1 parent ada3bfd commit a40d7a2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

other/pack.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ def lookup(match):
102102
version = get_field(modpath, '__version__'),
103103
author = get_field(modpath, '__author__'),
104104
license = get_field(modpath, '__license__'),
105+
url = get_field(modpath, '__url__'),
105106
description = get_description(modpath)
106107
)
107108

other/pack.setuppy.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ setup(
44
name='{{ module }}',
55
version='{{ version }}',
66
author='{{ author }}',
7-
url='https://github.com/techtonik/python-patch/',
7+
url='{{ url }}',
88

99
description='{{ description }}',
1010
license='{{ license }}',

patch.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@
77
Copyright (c) 2008-2016 anatoly techtonik
88
Available under the terms of MIT license
99
10-
https://github.com/techtonik/python-patch/
11-
1210
"""
1311
from __future__ import print_function
1412

1513
__author__ = "anatoly techtonik <techtonik@gmail.com>"
1614
__version__ = "1.16"
1715
__license__ = "MIT"
16+
__url__ = "https://github.com/techtonik/python-patch"
1817

1918
import copy
2019
import logging

0 commit comments

Comments
 (0)