mirror of https://github.com/ohmyzsh/ohmyzsh.git
Compare commits
15 Commits
c45a648dd0
...
a6279f2ca4
Author | SHA1 | Date |
---|---|---|
Vigneshwar Ravichandar | a6279f2ca4 | |
Vigneshwar Ravichandar | 1e7692b094 | |
Vigneshwar Ravichandar | bd72dd8bea | |
Vigneshwar Ravichandar | 1d11c6eef6 | |
Vigneshwar Ravichandar | 4b8733a278 | |
Vigneshwar Ravichandar | be561bc027 | |
Vigneshwar Ravichandar | 182c893834 | |
Vigneshwar Ravichandar | 6cc5aef3ab | |
ToastCoder | 08aa4b5bc3 | |
Vigneshwar Ravichandar | a35d2c19fc | |
Moulishankar10 | f965e9a58b | |
Moulishankar10 | 2372c8dfee | |
Moulishankar10 | 40ab2e14d3 | |
ToastCoder | dd71441529 | |
ToastCoder | 9c54986ad1 |
|
@ -0,0 +1,17 @@
|
|||
# pypi plugin
|
||||
|
||||
A plugin which contains quick memorable aliases for the commands available while uploading own packages in [pypi](https://pypi.org/)
|
||||
|
||||
To access this plugin, add the parameter `pypi` to the plugins array of your zshrc file:
|
||||
```
|
||||
plugins=(... pypi)
|
||||
```
|
||||
|
||||
## Aliases
|
||||
|
||||
| Alias Command | Original Command | Description |
|
||||
|------------------------|-----------------------------------------------------------------------|----------------------------------------------------------------------------------------|
|
||||
| `pypi-check` | `pip3 install twine setuptools` | Used to check the required libraries to upload a package in pypi |
|
||||
| `pypi-ltest` | `python3 setup.py sdist && python3 -m pip install dist/*` | Used to install setup.py file to local machine for testing before uploading into pypi. |
|
||||
| `pypi-tupload` | `python3 setup.py sdist && twine upload --repository testpypi dist/*` | Used to upload a python package to testpypi for testing |
|
||||
| `pypi-upload` | `python3 setup.py sdist && twine upload dist/*` | Used to upload a python package to pypi. |
|
|
@ -0,0 +1,6 @@
|
|||
alias pypi-check='python3 -m pip install twine setuptools'
|
||||
alias pypi-ltest='python3 setup.py sdist && python3 -m pip install dist/*'
|
||||
alias pypi-tupload='python3 setup.py sdist && twine upload --repository testpypi dist/*'
|
||||
alias pypi-upload='python3 setup.py sdist && twine upload dist/*'
|
||||
|
||||
|
Loading…
Reference in New Issue