Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
504f7553
Commit
504f7553
authored
Mar 08, 2016
by
Wenzel Jakob
Browse files
starting to work on next version
parent
d2385e8f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
docs/release.rst
docs/release.rst
+1
-1
include/pybind11/common.h
include/pybind11/common.h
+1
-1
pybind11/_version.py
pybind11/_version.py
+1
-1
No files found.
docs/release.rst
View file @
504f7553
To release a new version of pybind11:
To release a new version of pybind11:
- Update version macros in `include/pybind11/common.h`
- Update `pybind11/_version.py` (set release version, remove 'dev')
- Update `pybind11/_version.py` (set release version, remove 'dev')
- `git add` and `git commit`.
- `git add` and `git commit`.
- `python setup.py sdist upload`.
- `python setup.py sdist upload`.
- `python setup.py bdist_wheel upload`.
- `python setup.py bdist_wheel upload`.
- `git tag -a X.X -m 'Release tag comment'`.
- `git tag -a X.X -m 'Release tag comment'`.
- Update `_version.py` (add 'dev' and increment minor).
- Update `_version.py` (add 'dev' and increment minor).
- Update version macros in `include/pybind11/common.h`
- `git add` and `git commit`. `git push`. `git push --tags`.
- `git add` and `git commit`. `git push`. `git push --tags`.
The remote for the last `git push --tags` should be the main repository for
The remote for the last `git push --tags` should be the main repository for
...
...
include/pybind11/common.h
View file @
504f7553
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#endif
#endif
#define PYBIND11_VERSION_MAJOR 1
#define PYBIND11_VERSION_MAJOR 1
#define PYBIND11_VERSION_MINOR
3
#define PYBIND11_VERSION_MINOR
4
/// Include Python header, disable linking to pythonX_d.lib on Windows in debug mode
/// Include Python header, disable linking to pythonX_d.lib on Windows in debug mode
#if defined(_MSC_VER)
#if defined(_MSC_VER)
...
...
pybind11/_version.py
View file @
504f7553
version_info
=
(
1
,
3
)
version_info
=
(
1
,
4
,
'dev0'
)
__version__
=
'.'
.
join
(
map
(
str
,
version_info
))
__version__
=
'.'
.
join
(
map
(
str
,
version_info
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment