Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A conda tool to work with multiple projects in development mode.

License

NotificationsYou must be signed in to change notification settings

mforbes/conda-devenv

 
 

Repository files navigation

https://ci.appveyor.com/api/projects/status/w7kwn4k9gkvi2j63?svg=trueDocumentation Status

conda-devenv isconda extension to work with multiple projects in development mode.

It works by processingenvironment.devenv.yml files, similar to howconda envprocessesenvironment.yml files, with this additional features:

  • Jinja 2 support: gives more flexibility to the environmentdefinition, for example making it simple to conditionally add dependencies based on platform.
  • include otherenvironment.devenv.yml files: this allows you to easily work in severaldependent projects at the same time, managing a singleconda environment with your dependencies.
  • Environment variables: you can define aenvironment: section with environment variablesthat should be defined when the environment is activated.

Here's a simpleenvironment.devenv.yml file:

{% set conda_py = os.environ.get('CONDA_PY', '35') %}name:web-ui-py{{ conda_py }}includes:  -{{ root }}/../core-business/environment.devenv.ymldependencies:  -gcc# [linux]environment:PYTHONPATH:    -{{ root }}/srcSTAGE:DEVELOPMENT

To use this file, execute:

$cd~/projects/web-ui$conda devenv>Executing: conda env update --file environment.yml --pruneFetching package metadata .........Solving package specifications: ..........Linking packages ...[      COMPLETE      ]|############################| 100%##To activate this environment, use:#>source activate web-ui-py35##To deactivate this environment, use:#>source deactivate web-ui-py35#$source activate web-ui-py35$env PYTHONPATH/home/user/projects/web-ui/src$echo$STAGEDEVELOPMENT

Documentation

https://conda-devenv.readthedocs.io.

Development

Please seeCONTRIBUTING.

License

Free software: MIT license

About

A conda tool to work with multiple projects in development mode.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python100.0%

[8]ページ先頭

©2009-2025 Movatter.jp