You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Help needed with conda-build and setting up meta.yaml, and setup.py for module/submodule structure. #44
I am trying to build a conda package, using conda-build, from pure python modules (and submodules). As a starter I use the cookiecutter at https://github.com/conda/cookiecutter-conda-python.git.
If I understand correctly, one can only include python submodules if the source files are on github ?
Can someone please point me to a comprehensive example (even for a non professional programmer) on how to make a pure python package using conda-build, out of a simple module/submodule structure ?
To be more precise, I'm interested in how to set :
meta.yaml file (and how to use load_setup_py_data() function ?)
setup.py file.
For further information : I manage creating a package from a local file where all my python code is in one file, but when I use the same approach on a git source (where I have only my python code in modules and submodules) , I get this error :
(%BUILD_PREFIX%) %SRC_DIR%>python setup.py install --single-version-externally-managed --record=record.txt
python: can't open file 'setup.py': [Errno 2] No such file or directory
Activity
ChrisBarker-NOAA commentedon Apr 7, 2019
This is a repo used for a tutorial at Scipy 2018, which may be used as teh basis for future tutorials (thought not SciPY2019).
So we welcome suggestions for making it better, but it's not a place to get help / ask questions.
I suggest you look to the conda docs and mailing lists for that help:
https://conda.io/projects/conda-build/en/latest/
Also, conda-forge is a great source of examples:
https://conda-forge.org/
I'm going to tag this as a suggestion for future improvement.
markomijat commentedon Apr 9, 2019
Thank you for your message.