Le 07/10/2020 à 11:32, Ray Donnelly a écrit :
> If you can share your recipe then I can try to help. But conda build
> just bundles new files copied into PREFIX.
Here is my meta.yaml file :
https://forgemia.inra.fr/sciproject/managesciproject/-/blob/master/meta.yaml
and the repo of my package :
https://forgemia.inra.fr/sciproject/managesciproject/-/tree/master
but I don't know about PREFIX what this is ?
>
> On Wed, 7 Oct 2020, 11:15 Arnaud Mounier, <
arnaud....@inrae.fr
> <mailto:
arnaud....@inrae.fr>> wrote:
>
> Thank you for your answer,
>
> That's my problem : the conf folder have already several yaml files
> within that I need on my module
>
> Le mercredi 7 octobre 2020 à 11:07:56 UTC+2,
rdon...@anaconda.com
> <mailto:
rdon...@anaconda.com> a écrit :
>
> You need to create dummy files on the folders.
>
> On Wed, 7 Oct 2020, 10:22 Arnaud Mounier, <
arnaud....@inrae.fr>
> wrote:
>
> Hi,
>
> I try to build with /conda build/ a conda package and I need
> that the package embedded some folders and conf files
> within. The folders are present on the tree (conf/ and doc/)
> package :
> managesciproject
> |-- bld.bat
> |-- build.sh
> |-- __main__.py
> |-- managesciproject
> | |-- conf/
> | |-- doc/
> | |-- __init__.py
> | |-- README.md
> | |-- shellcmd.py
> | |-- structure.py
> | `-- _version.py
> |-- MANIFEST.in
> |-- meta.yaml
> |-- README.md
> |-- setup.cfg
> |-- setup.py
> `-- versioneer.py
>
> All the packaging process with /conda build/ works fine but
> when I install later the package to a conda env the 2
> folders (conf/ and doc/) are not present anymore and I need
> it in my module. Is there a way to explicitly embedded this
> 2 folders within the packaging process ?
>
> Thanks a lot,
> Arnaud.
>
> --
> Community Discussion Forum for Anaconda
> ---
> You received this message because you are subscribed to the
> Google Groups "Anaconda - Public" group.
> To unsubscribe from this group and stop receiving emails
> from it, send an email to
anaconda+u...@continuum.io.
> To view this discussion on the web visit
>
https://groups.google.com/a/continuum.io/d/msgid/anaconda/7c4a7a80-1195-47cb-a441-9ec942fc9b93n%40continuum.io
> <
https://groups.google.com/a/continuum.io/d/msgid/anaconda/7c4a7a80-1195-47cb-a441-9ec942fc9b93n%40continuum.io?utm_medium=email&utm_source=footer>.
>
--
« Quand les hommes considèrent certaines situations comme réelles, elles
sont réelles dans leur conséquence. »
Le théorème de Thomas.
Arnaud Mounier
INRAe - UMR 1347 Agroécologie
CNRS - ERL 6003 IPM (Plants-Microorganisms Interactions)
17, rue Sully - BP 86510 - F-21065 Dijon Cedex - France
Work phone : +33 380 693 167 - Fax : +33 380 693 753
Homepage :
https://huit.re/INRA-IPM-Arnaud-Mounier