Skip to content

Commit 9de9a55

Browse files
authored
Merge pull request #23 from jayvdb/optional-scm_host
setup.py.jj2: default scm_host to GitHub
2 parents 1270fc2 + ac931f7 commit 9de9a55

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

config/data.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ 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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
{% if not scm_host %}
2+
{% set scm_host = 'github.com' %}
3+
{% endif %}
14
{% block shebang %}
25
#!/usr/bin/env python3
36
{% endblock %}

0 commit comments

Comments
 (0)