mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 13:15:12 +00:00
switched to conda-forge, updated release process docs
This commit is contained in:
parent
9f272ddc73
commit
ace7b4386e
@ -1,2 +0,0 @@
|
|||||||
"%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt
|
|
||||||
if errorlevel 1 exit 1
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
${PYTHON} setup.py install --single-version-externally-managed --record=record.txt;
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
|||||||
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
|
|
@ -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.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user