mirror of https://github.com/phonopy/phono3py.git
Omit python2.x support.
This commit is contained in:
parent
9703a0ba4b
commit
345a2a1fa6
|
@ -1,49 +1,48 @@
|
|||
|
||||
## The package attribure specifies a binstar package namespace to build the package to.
|
||||
## The package attribure specifies a binstar package namespace to build the package to.
|
||||
## This can be specified here or on the command line
|
||||
package: phono3py
|
||||
|
||||
## You can also specify the account to upload to,
|
||||
## you must be an admin of that account, this
|
||||
## you must be an admin of that account, this
|
||||
## defaults to your user account
|
||||
# user: USERNAME
|
||||
# user: USERNAME
|
||||
|
||||
#===============================================================================
|
||||
# Build Matrix Options
|
||||
# Thes options may be a single item, a list or empty
|
||||
# The resulting number of builds is [platform * engine * env]
|
||||
# The resulting number of builds is [platform * engine * env]
|
||||
#===============================================================================
|
||||
|
||||
## The platforms to build on.
|
||||
## platform defaults to linux-64
|
||||
# platform:
|
||||
## platform defaults to linux-64
|
||||
# platform:
|
||||
# - linux-64
|
||||
# - linux-32
|
||||
## The engine are the inital conda packages you want to run with
|
||||
## The engine are the inital conda packages you want to run with
|
||||
engine:
|
||||
- python=2
|
||||
- python=3
|
||||
## The env param is an environment variable list
|
||||
## The env param is an environment variable list
|
||||
env:
|
||||
- GIT_BRANCH=master
|
||||
|
||||
#===============================================================================
|
||||
# Scrip options
|
||||
# Thes options may be broken out into the before_script, script and after_script
|
||||
# or not, that is up to you
|
||||
# or not, that is up to you
|
||||
#===============================================================================
|
||||
|
||||
## Run before the script
|
||||
before_script:
|
||||
- conda install anaconda-client --yes
|
||||
## Put your main computations here!
|
||||
## Put your main computations here!
|
||||
script:
|
||||
- conda update -n root conda conda-build --yes
|
||||
- GIT_BRANCH=`git branch |grep '^*'|sed -e 's/^*\s\?//' -e 's/(HEAD [a-z ]* \(.*\))$/\1/'`
|
||||
- conda build .
|
||||
|
||||
## This will run after the script regardless of the result of script
|
||||
## BINSTAR_BUILD_RESULT=[succcess|failure]
|
||||
## BINSTAR_BUILD_RESULT=[succcess|failure]
|
||||
after_script:
|
||||
- echo "The build was a $BINSTAR_BUILD_RESULT" | tee artifact1.txt
|
||||
## This will be run only after a successfull build
|
||||
|
@ -71,8 +70,8 @@ after_failure:
|
|||
|
||||
## Build Targets: Upload these files to your binstar package
|
||||
## build targets may be a list of files (globs allows) to upload
|
||||
## The special build targets 'conda' and 'pypi' may be used to
|
||||
## upload conda builds
|
||||
## The special build targets 'conda' and 'pypi' may be used to
|
||||
## upload conda builds
|
||||
## e.g. conda is an alias for /opt/anaconda/conda-bld/<os-arch>/*.tar.bz2
|
||||
build_targets:
|
||||
- conda
|
||||
|
|
|
@ -26,7 +26,7 @@ build:
|
|||
|
||||
requirements:
|
||||
build:
|
||||
- python
|
||||
- python>=3.5
|
||||
- pip
|
||||
- numpy>=1.11
|
||||
- scipy
|
||||
|
@ -39,7 +39,7 @@ requirements:
|
|||
- spglib
|
||||
|
||||
run:
|
||||
- python
|
||||
- python>=3.5
|
||||
- pip
|
||||
- numpy>=1.11
|
||||
- scipy
|
||||
|
|
1
setup.py
1
setup.py
|
@ -340,6 +340,7 @@ if __name__ == '__main__':
|
|||
author_email='atz.togo@gmail.com',
|
||||
url='http://phonopy.github.io/phono3py/',
|
||||
packages=packages_phono3py,
|
||||
python_requires='>=3.5',
|
||||
install_requires=['numpy', 'scipy', 'PyYAML', 'matplotlib',
|
||||
'h5py', 'spglib', 'phonopy>=2.11,<2.12'],
|
||||
provides=['phono3py'],
|
||||
|
|
Loading…
Reference in New Issue