summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2019-04-12 12:52:29 -0700
committerSteve Piercy <web@stevepiercy.com>2019-04-12 12:52:29 -0700
commite4ae88a2bc707538437a15645fb12a8ee063f70e (patch)
tree9579d67051d947b011f9f908db127100070b034a /setup.py
parent755e34af7e2e259a2e25853d042ffa84414dcce3 (diff)
downloadpyramid-e4ae88a2bc707538437a15645fb12a8ee063f70e.tar.gz
pyramid-e4ae88a2bc707538437a15645fb12a8ee063f70e.tar.bz2
pyramid-e4ae88a2bc707538437a15645fb12a8ee063f70e.zip
refactor major_version to branch_version
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 9dcde2f44..e3154d210 100644
--- a/setup.py
+++ b/setup.py
@@ -54,11 +54,11 @@ docs_extras = [
testing_extras = tests_require + ['coverage', 'nose']
-major_version = ".".join(VERSION.split(".")[:2])
+branch_version = ".".join(VERSION.split(".")[:2])
# black is refusing to make anything under 80 chars so just splitting it up
docs_fmt = 'https://docs.pylonsproject.org/projects/pyramid/en/{}-branch/'
-docs_url = docs_fmt.format(major_version)
+docs_url = docs_fmt.format(branch_version)
setup(
name='pyramid',
@@ -87,7 +87,7 @@ setup(
url="https://trypyramid.com",
project_urls={
'Documentation': docs_url,
- 'Changelog': '{}whatsnew-{}.html'.format(docs_url, major_version),
+ 'Changelog': '{}whatsnew-{}.html'.format(docs_url, branch_version),
'Issue Tracker': 'https://github.com/Pylons/pyramid/issues',
},
license="BSD-derived (http://www.repoze.org/LICENSE.txt)",