Switch to build.sh generated version numbers.

This commit is contained in:
P.T. Jochym 2016-01-09 15:10:27 +01:00
parent 3b1f43f24f
commit 7c62c6564f
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
git describe --tags --dirty | sed -e 's/-\(.*\)-g.*/+\1/' -e 's/^v//g' > __conda_version__.txt
$PYTHON setup.py install
# Add more build steps here, if they are necessary.

View File

@ -1,6 +1,5 @@
package:
name: phonopy
version: {{ environ.get('GIT_DESCRIBE_TAG', '') }}
source:
git_url: https://github.com/jochym/phonopy.git
@ -18,7 +17,7 @@ build:
# If this is a new build for the same version, increment the build
# number. If you do not include this key, it defaults to 0.
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
number: 0
requirements:
build: