-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conda recipe with deployment on tags via Travis (#235)
* Adding conda recipe and CD to travis * Removed master-only from travis yaml * Removed un-used USER variable * Fixed summary in meta.yaml * Added mantidTS channel, libGL install, and updates to upload * Fix conda upload function call * added mantid channel to travis yaml * Cleanup in conda recipe * Add the build section to conda recipe + refactor run * Fixing conda build statements * Fix conda upload function call * Rerun travis build with new api token setup for conda deploy * Adding conda recipe and CD to travis * Removed master-only from travis yaml * Removed un-used USER variable * Fixed summary in meta.yaml * Added mantidTS channel, libGL install, and updates to upload * Fix conda upload function call * added mantid channel to travis yaml * Cleanup in conda recipe * Add the build section to conda recipe + refactor run * Fixing conda build statements * Fix conda upload function call * Moved main script and updated setup.py for console_scripts * Updated addiedevel.sh with change to main script * Added flake8 to Pipfile * Flake8 fixes to addie/main.py * Added package pyX string, setuptools to build, and test for import of addie to recipe * Refactor of conda setup + deploy in travis CI * Adding python to recipe to debug failure * Added pytest to setup.py * Added conda install lines to travis yaml * Pinned version of mantid workbench in recipe * Added pinned workbench version to travis yaml * Remove pinned versions and dependencies included in mantid * Refactor setup.py for requirements files * Updated recipe and requirement files * Removed pinned workbench after changing upstream labels * Remove setup requirements to fix conda recipe issues * Fix flake8 for setup.py * Switch travis conda deploy to production
- Loading branch information
1 parent
8c7e61a
commit 5fe6b7d
Showing
10 changed files
with
166 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Input | ||
if [[ $# -ne 1 ]] | ||
then | ||
echo "Usage: anaconda_upload.sh <full package path>" | ||
exit 1 | ||
fi | ||
|
||
PKG_PATH=$1 | ||
PKG_FILE=$(basename ${PKG_PATH}) | ||
|
||
echo "Uploading ${PKG_PATH} artifact..." | ||
anaconda -v -t ${CONDA_UPLOAD_TOKEN} upload ${PKG_PATH} --force | ||
|
||
echo "Successfully deployed ${PKG_FILE} to Anaconda.org." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{% set data = load_setup_py_data() %} | ||
|
||
package: | ||
name: "addie" | ||
version: "{{ data['version'] }}" | ||
|
||
source: | ||
path: .. | ||
|
||
build: | ||
string: py{{py}} | ||
script: python setup.py install --single-version-externally-managed --record=record.txt | ||
|
||
requirements: | ||
build: | ||
- mantid-total-scattering-python-wrapper | ||
- mantid-workbench | ||
- periodictable | ||
- psutil | ||
- python | ||
- setuptools | ||
|
||
run: | ||
- mantid-total-scattering-python-wrapper | ||
- mantid-workbench | ||
- periodictable | ||
- psutil | ||
- python | ||
|
||
test: | ||
imports: | ||
- addie | ||
|
||
about: | ||
home: https://github.com/neutrons/addie | ||
license: GPL (version 3) | ||
license_family: GPL3 | ||
license_file: | ||
summary: ADvanced DIffraction Environment | ||
|
||
extra: | ||
recipe-maintainers: | ||
- JeanBilheux | ||
- marshallmcdonnell | ||
- peterfpeterson |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
mantid-total-scattering | ||
periodictable | ||
psutil | ||
QtPy |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
mock | ||
pytest |