GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Help needed with conda-build and setting up meta.yaml, and setup.py for module/submodule structure. · Issue #44 · python-packaging-tutorial/python-packaging-tutorial

Help needed with conda-build and setting up meta.yaml, and setup.py for module/submodule structure. #44

New issue
Copy link
New issue
Copy link
Open
Open
Help needed with conda-build and setting up meta.yaml, and setup.py for module/submodule structure.#44
Copy link

Description

@markomijat
markomijat
opened on Apr 6, 2019
Issue body actions

Hello,

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

Thanks

Activity

  1. ChrisBarker-NOAA commented on Apr 7, 2019

    @ChrisBarker-NOAA
    ChrisBarker-NOAA
    on Apr 7, 2019
    Contributor
    More actions

    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.

  2. markomijat commented on Apr 9, 2019

    @markomijat
    markomijat
    on Apr 9, 2019
    Author
    More actions

    Thank you for your message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.