Compare commits

...

15 Commits

Author SHA1 Message Date
Vigneshwar Ravichandar a6279f2ca4
Merge 1e7692b094 into 7ed475cb58 2024-11-09 23:26:01 +01:00
Vigneshwar Ravichandar 1e7692b094
Merge branch 'ohmyzsh:master' into master 2022-01-26 22:31:23 +05:30
Vigneshwar Ravichandar bd72dd8bea
Merge branch 'ohmyzsh:master' into master 2021-11-19 13:40:12 +05:30
Vigneshwar Ravichandar 1d11c6eef6
Merge branch 'ohmyzsh:master' into master 2021-11-13 19:50:36 +05:30
Vigneshwar Ravichandar 4b8733a278
Merge branch 'ohmyzsh:master' into master 2021-10-02 11:41:04 +05:30
Vigneshwar Ravichandar be561bc027
Merge branch 'ohmyzsh:master' into master 2021-09-10 15:12:39 +05:30
Vigneshwar Ravichandar 182c893834
Merge branch 'ohmyzsh:master' into master 2021-07-28 10:42:06 +05:30
Vigneshwar Ravichandar 6cc5aef3ab
Merge branch 'ohmyzsh:master' into master 2021-07-25 16:00:36 +05:30
ToastCoder 08aa4b5bc3 Used python3 -m pip instead of pip3 in pypi-check alias 2021-06-26 21:08:42 +05:30
Vigneshwar Ravichandar a35d2c19fc
Added list of aliases in pypi plugin 2021-06-26 16:38:20 +05:30
Moulishankar10 f965e9a58b Added the plugin description in README.md 2021-06-26 16:13:46 +05:30
Moulishankar10 2372c8dfee Added alias for pypi-ltest in pypi plugin 2021-06-26 14:15:57 +05:30
Moulishankar10 40ab2e14d3 Added alias for pypi-tupload 2021-06-26 14:15:00 +05:30
ToastCoder dd71441529 Added pypi-upload alias in pypi plugin and minor correction in pypi-check alias 2021-06-26 13:51:46 +05:30
ToastCoder 9c54986ad1 Added pypi-check alias in pypi plugin 2021-06-26 13:48:49 +05:30
2 changed files with 23 additions and 0 deletions

17
plugins/pypi/README.md Normal file
View File

@ -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. |

View File

@ -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/*'