Skip to content

Commit 5024b82

Browse files
committed
Drop the v prefix from version numbers
This is messing up uploads to PyPI, as the v is not accepted.
1 parent f9b0bc2 commit 5024b82

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
# built documents.
5454
#
5555
# The short X.Y version.
56-
version = 'v1.7.4'
56+
version = '1.7.4'
5757
# The full version, including alpha/beta/rc tags.
58-
release = 'v1.7.4'
58+
release = '1.7.4'
5959

6060
# The language for content autogenerated by Sphinx. Refer to documentation
6161
# for a list of supported languages.

docs/history.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ by setting up a git repositery on github, hosted along with gccxml.
1414
Version 1.7.4 (not yet released)
1515
--------------------------------
1616

17+
1. Since this release, pyggcxml's version numbers do not contain the ``v``
18+
prefix anymore. This was breaking distribution on PyPI (pypi.python.org).
19+
1720
Version 1.7.3
1821
-------------
1922

pygccxml/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@
4040
# TODO:
4141
# 1. Add "explicit" property for constructors
4242

43-
__version__ = 'v1.7.4'
43+
__version__ = '1.7.4'

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
from setuptools import setup
88

99
setup(name="pygccxml",
10-
version="v1.7.4",
10+
version="1.7.4",
1111
author="Roman Yakovenko",
1212
author_email="roman yakovenko at gmail com",
1313
maintainer="Michka Popoff and the Insight Software Consortium",
1414
maintainer_email="[email protected]",
1515
description="Python package for easy C++ declarations navigation.",
1616
url="https://github.com/gccxml/pygccxml",
17-
download_url="https://github.com/gccxml/pygccxml/archive/v1.7.4.tar.gz",
17+
download_url="https://github.com/gccxml/pygccxml/archive/1.7.4.tar.gz",
1818
license="Boost",
1919
keywords="C++, declaration parser, CastXML, gccxml",
2020
packages=["pygccxml",

0 commit comments

Comments
 (0)