source: sasview/build_tools/conda/README.md @ 55bde35

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 55bde35 was 55bde35, checked in by Peter Parker, 9 years ago

Instead just use 'conda skeleton pypi' to generate all recipes.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1= Conda Recipes =
2
3Here 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.
4
5== Creating a Recipe ==
6
7An 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...):
8
9{{{
10conda skeleton pypi package_name
11}}}
12
13This automatically chooses the most recent version up on PyPi.  You may specify an older version as follows:
14
15{{{
16conda skeleton pypi package_name --version 1.0.9
17}}}
18
19If you run `conda skeleton` from this directory, then the recipes will go into the right place.
20
21If you're lucky this is all you will need to ever do to create a new recipe, but you may need to go in and tinker with the meta.yaml file from time to time.
22
23'''Issues'''
24
25* Sometimes downloading the package from PyPi is problematic.  You may see something like the following:
26
27  {{{
28  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  }}}
30
31  If so, append `--no-download` to the skeleton command.
32
33* 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.
34
35== Building a Conda Package and Uploading to Binstar ==
36
37...
Note: See TracBrowser for help on using the repository browser.