Skip to content

Commit c8a2674

Browse files
committed
✨ make scm host replacable, fix #15
1 parent 8039113 commit c8a2674

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

config/data.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ license: NEW BSD
99
company: Onni Software Ltd.
1010
branch: master
1111
description: this is a base for python project scaffolding
12+
scm_host: github.com

templates/setup.py.jj2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ DESCRIPTION = (
4343
'{{ line }}'{{ ' +' if not loop.last}}
4444
{% endfor %}
4545
)
46-
URL = 'https://github.com/{{organisation}}/{{name}}'
46+
URL = 'https://{{scm_host}}/{{organisation}}/{{name}}'
4747
DOWNLOAD_URL = '%s/archive/{{release}}.tar.gz' % URL
4848
FILES = ['README.rst',{%block morefiles %}{%endblock%} 'CHANGELOG.rst']
4949
KEYWORDS = [

0 commit comments

Comments
 (0)