automamba: update readme
This commit is contained in:
parent
c53c9f575b
commit
af95821dbb
1 changed files with 8 additions and 8 deletions
|
@ -13,24 +13,24 @@ arrays within the script.
|
||||||
|
|
||||||
### examples
|
### examples
|
||||||
|
|
||||||
* `automamba hello.py`
|
* `automamba hello.py`
|
||||||
invoke python to execute a local python file.
|
invoke python to execute a local python file.
|
||||||
a new environment will be created if none have been made.
|
a new environment will be created if none have been made.
|
||||||
* `automamba -c 'print("Hello, world!")'`
|
* `automamba -c 'print("Hello, world!")'`
|
||||||
same as the above, but with the program given on the command-line instead.
|
same as the above, but with the program given on the command-line instead.
|
||||||
* `automamba --create`
|
* `automamba --create`
|
||||||
create a new environment. do this once in a while to keep your packages up to date.
|
create a new environment. do this once in a while to keep your packages up to date.
|
||||||
* `AM_ENV=aws automamba --create -c conda-forge 'awscli>=2,<3'`
|
* `AM_ENV=aws automamba --create -c conda-forge 'awscli>=2,<3'`
|
||||||
create an environment called "aws" and install `awscli` version 2
|
create an environment called "aws" and install `awscli` version 2
|
||||||
from the conda-forge channel.
|
from the conda-forge channel.
|
||||||
* `AM_ENV=aws automamba -m awscli ec2 describe-instances`
|
* `AM_ENV=aws automamba -m awscli ec2 describe-instances`
|
||||||
run an AWS command using the previously created environment.
|
run an AWS command using the previously created environment.
|
||||||
* `automamba --pip install scipybiteopt==1.2`
|
* `automamba --pip install scipybiteopt==1.2`
|
||||||
invoke pip to build and install a package. MSVC will be installed if it isn't already,
|
invoke pip to build and install a package. MSVC will be installed if it isn't already,
|
||||||
since this example requires a C++ compiler.
|
since this example requires a C++ compiler.
|
||||||
* `automamba --mamba repoquery depends pip`
|
* `automamba --mamba repoquery depends pip`
|
||||||
invoke mamba to look up dependencies.
|
invoke mamba to look up dependencies.
|
||||||
* `automamba --wheel`
|
* `automamba --wheel`
|
||||||
execute `./setup.py` with `bdist_wheel` as an argument.
|
execute `./setup.py` with `bdist_wheel` as an argument.
|
||||||
this configures environment variables similarly to the `--pip` command.
|
this configures environment variables similarly to the `--pip` command.
|
||||||
(this command will probably be removed in the near future)
|
(this command will probably be removed in the near future)
|
||||||
|
|
Loading…
Add table
Reference in a new issue