Adapt to c-b 2.0. Partial clean-up
@@ -12,11 +12,8 @@ source:
sha256: {{ sha256 }}
build:
- skip: True # [py3k and not win]
+ # skip: True # [py3k and not win]
number: 0
- # If the installation is complex, or different between Unix and Windows, use separate bld.bat and build.sh files instead of this key.
- # By default, the package will be built for Python 2.7, 3.4, and above, for all major OSs.
- # Add the line "skip: True # [py<34]" (for example) to limit to Python 3.4 and newer, or "skip: True # [not win]" to limit to Windows.
script: python setup.py install --single-version-externally-managed --record record.txt
requirements:
@@ -36,10 +33,12 @@ requirements:
- future
test:
+ source_files:
+ - test
imports:
- elastic
commands:
- - cd {{SRC_DIR}}/test/
+ - cd test/
- python -m unittest discover -b
about:
@@ -49,7 +48,6 @@ about:
license_file: LICENSE
summary: 'Elastic is a set of python routines for calculation of elastic properties of crystals'
- # The remaining entries in this section are optional, but recommended
description: |
Elastic is a set of python routines for calculation of elastic properties
of crystals (elastic constants, equation of state, sound velocities, etc.).
