switched to conda-forge, updated release process docs

This commit is contained in:
Wenzel Jakob 2016-05-10 13:09:05 +01:00
parent 9f272ddc73
commit ace7b4386e
4 changed files with 9 additions and 42 deletions

View File

@ -1,2 +0,0 @@
"%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt
if errorlevel 1 exit 1

View File

@ -1,3 +0,0 @@
#!/bin/bash
${PYTHON} setup.py install --single-version-externally-managed --record=record.txt;

View File

@ -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

View File

@ -2,20 +2,18 @@ To release a new version of pybind11:
- Update the version number and push to pypi
- Update ``pybind11/_version.py`` (set release version, remove 'dev')
- Tag release date in ``doc/changelog.rst``.
- ``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 bdist_wheel upload``.
- Tag release date in ``doc/changelog.rst``.
- Tag the commit and push to anaconda.org
- ``git tag -a vX.Y -m 'vX.Y release'``.
- ``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``
- Update conda-forge
- change version number in ``meta.yml``
- update checksum to match the one computed by pypi
- Get back to work
- 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``.
The remote for the last ``git push --tags`` should be the main repository for
pybind11.
- ``git add`` and ``git commit``.
``git push``