Skip to content

feat: add tvm project init command - #14

Merged
Alec4r merged 2 commits into
mainfrom
12-creates-the-new-usage-of-versionproject_name
May 18, 2022
Merged

feat: add tvm project init command#14
Alec4r merged 2 commits into
mainfrom
12-creates-the-new-usage-of-versionproject_name

Conversation

@Alec4r

@Alec4r Alec4r commented May 17, 2022

Copy link
Copy Markdown
Member

Descriptions

This PR is to add the functionality to create tutor virtualenvs by projects.

How to test

pip install git+https://github.com/eduNEXT/tvm.git@10_redesign_the_tvm_model
tvm install v12.2.0
tvm use v12.2.0
mkdir test && cd test
tvm project init
source .tvm/bin/activate
tutor --version
which tutor
tvmoff

Also, you should find the .tvm directory in your project folder.

NOTA:

Must have merged pr #11

@Alec4r Alec4r added the enhancement New feature or request label May 17, 2022
@Alec4r Alec4r self-assigned this May 17, 2022
@Alec4r Alec4r linked an issue May 17, 2022 that may be closed by this pull request
@Alec4r
Alec4r requested review from MaferMazu and felipemontoya and removed request for felipemontoya May 17, 2022 20:21
Comment thread tvm/cli.py

@black-redoc black-redoc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks fine as well, but remind review @MaferMazu suggest about version_is_valid and validate_version

@Alec4r
Alec4r merged commit dedab27 into main May 18, 2022
@Alec4r
Alec4r deleted the 12-creates-the-new-usage-of-versionproject_name branch June 24, 2022 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

creates the new usage of version@project_name

3 participants