Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
ace7b438
Commit
ace7b438
authored
May 10, 2016
by
Wenzel Jakob
Browse files
switched to conda-forge, updated release process docs
parent
9f272ddc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
42 deletions
+9
-42
conda.recipe/bld.bat
conda.recipe/bld.bat
+0
-2
conda.recipe/build.sh
conda.recipe/build.sh
+0
-3
conda.recipe/meta.yaml
conda.recipe/meta.yaml
+0
-26
docs/release.rst
docs/release.rst
+9
-11
No files found.
conda.recipe/bld.bat
deleted
100644 → 0
View file @
9f272ddc
"
%PYTHON%
"
setup
.py
install
--single-version-externally-managed --record
=
record
.txt
if
errorlevel
1
exit
1
conda.recipe/build.sh
deleted
100644 → 0
View file @
9f272ddc
#!/bin/bash
${
PYTHON
}
setup.py
install
--single-version-externally-managed
--record
=
record.txt
;
conda.recipe/meta.yaml
deleted
100644 → 0
View file @
9f272ddc
package
:
name
:
pybind11
version
:
{{
environ.get('GIT_DESCRIBE_TAG'
,
'
'
).replace('v'
,
'
'
)
}}
build
:
number
:
{{
environ.get('GIT_DESCRIBE_NUMBER'
,
0)
}}
{
%
if environ.get('GIT_DESCRIBE_NUMBER'
,
'
0'
) == '0' %
}
string
:
py{{ environ.get('PY_VER').replace('.', '') }}_0
{
%
else %
}
string
:
py{{ environ.get('PY_VER').replace('.', '') }}_{{ environ.get('GIT_BUILD_STR', 'GIT_STUB') }}{% endif %}
source
:
git_url
:
../
requirements
:
build
:
-
python
run
:
-
python
test
:
imports
:
-
pybind11
about
:
home
:
https://github.com/pybind/pybind11/
summary
:
Seamless operability between C++11 and Python
docs/release.rst
View file @
ace7b438
...
@@ -2,20 +2,18 @@ To release a new version of pybind11:
...
@@ -2,20 +2,18 @@ To release a new version of pybind11:
- Update the version number and push to pypi
- Update the version number and push to pypi
- Update ``pybind11/_version.py`` (set release version, remove 'dev')
- Update ``pybind11/_version.py`` (set release version, remove 'dev')
- Tag release date in ``doc/changelog.rst``.
- ``git add`` and ``git commit``.
- ``git add`` and ``git commit``.
- ``git tag -a vX.Y -m 'vX.Y release'``.
- ``git push``
- ``git push --tags``.
- ``python setup.py sdist upload``.
- ``python setup.py sdist upload``.
- ``python setup.py bdist_wheel upload``.
- ``python setup.py bdist_wheel upload``.
- Tag release date in ``doc/changelog.rst``.
- Update conda-forge
- Tag the commit and push to anaconda.org
- change version number in ``meta.yml``
- ``git tag -a vX.Y -m 'vX.Y release'``.
- update checksum to match the one computed by pypi
- ``conda-build conda.recipe``
This should ouput the path of the generated tar.bz2 for the package
- ``conda-convert --platform all [path/to/tar.bz2] -o .``
- ``for i in *-32/* *-64/*; do anaconda upload -u pybind $i; done``
- Get back to work
- Get back to work
- Update ``_version.py`` (add 'dev' and increment minor).
- Update ``_version.py`` (add 'dev' and increment minor).
- Update version macros in ``include/pybind11/common.h``
- 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``
The remote for the last ``git push --tags`` should be the main repository for
pybind11.
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