Changeset 81b369bb in sasview for build_tools


Ignore:
Timestamp:
Feb 14, 2015 8:14:50 AM (10 years ago)
Author:
Peter Parker
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
981a1d4
Parents:
34f113ad
Message:

Convert to actual GitHub? markdown.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build_tools/conda/README.md

    r2642896 r81b369bb  
    1 = Conda Recipes = 
     1# Conda Recipes 
    22 
    33Here we store the recipes for building conda packages of the dependencies of SasView.  These are dependencies that unforunately do not come pre-bundled with Anaconda. 
    44 
    5 == Creating a Recipe == 
     5# Creating a Recipe 
    66 
    77An easy way to get started with a recipe is to use the skeleton command that comes with conda, which looks for all the information it needs on PyPi (of course, this will only work if the module exists on PyPi...): 
    88 
    9 {{{ 
     9``` 
    1010conda skeleton pypi package_name 
    11 }}} 
     11``` 
    1212 
    1313This automatically chooses the most recent version up on PyPi.  You may specify an older version as follows: 
    1414 
    15 {{{ 
     15``` 
    1616conda skeleton pypi package_name --version 1.0.9 
    17 }}} 
     17``` 
    1818 
    1919If you run `conda skeleton` from this directory, then the recipes will go into the right place.  
     
    2525* Sometimes downloading the package from PyPi is problematic.  You may see something like the following: 
    2626 
    27   {{{ 
     27  ``` 
    2828  Error: Could not open 'C:\\TempAnaconda\\conda-bld\\src_cache\\showfiles.php?group_id=15583.part' for writing ([Errno 22] invalid mode ('wb') or filename: 'C:\\TempAnaconda\\conda-bld\\src_cache\\showfiles.php?group_id=15583.part'). 
    29   }}} 
     29  ``` 
    3030 
    31   If so, the {{{source:}}} values in meta.yaml are pointing to external urls that are not direct links to the downloads (in the case above, a .php link).  Change  {{{fn:}}} and {{{url:}}} from {{{http://sourceforge.net/project/showfiles.php?group_id=15583}}} or similar to an actual link to a .zip of .tar.gz.  Remember to add a correct {{{mdf:}}} property so that future users have their downloads checked. 
     31  If so, the `source:` values in meta.yaml are pointing to external urls that are not direct links to the downloads (in the case above, a .php link).  Change  `fn:` and `url:` from `http://sourceforge.net/project/showfiles.php?group_id=15583` or similar to an actual link to a .zip of .tar.gz.  Remember to add a correct `mdf:` property so that future users have their downloads checked. 
    3232 
    3333* I once tried to use recipes generated with older versions of conda and ran into problems.  Your options here are either to hack away at the recipe until it works, or just re-generate the recipe with skeleton. 
    3434 
    35 == Building a Conda Package and Uploading to Binstar == 
     35# Building a Conda Package and Uploading to Binstar 
    3636 
    37 {{{ 
     37``` 
    3838conda build bumps\ 
    39 }}} 
     39``` 
    4040 
    41 {{{ 
     41``` 
    4242TEST END: bumps-0.7.5.4-py27_0 
    4343# If you want to upload this package to binstar.org later, type: 
     
    4747# To have conda build upload to binstar automatically, use 
    4848# $ conda config --set binstar_upload yes 
    49 }}} 
     49``` 
Note: See TracChangeset for help on using the changeset viewer.