diff --git a/conda.recipe/bld.bat b/conda.recipe/bld.bat deleted file mode 100644 index b9cd616ce..000000000 --- a/conda.recipe/bld.bat +++ /dev/null @@ -1,2 +0,0 @@ -"%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt -if errorlevel 1 exit 1 diff --git a/conda.recipe/build.sh b/conda.recipe/build.sh deleted file mode 100644 index 175d6f16e..000000000 --- a/conda.recipe/build.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -${PYTHON} setup.py install --single-version-externally-managed --record=record.txt; - diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml deleted file mode 100644 index fbbb830b7..000000000 --- a/conda.recipe/meta.yaml +++ /dev/null @@ -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 diff --git a/docs/release.rst b/docs/release.rst index e0f8a8638..4c3ff72f3 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -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``