Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carrascomj/pipterate
CLI to reinstall a local python package.
https://github.com/carrascomj/pipterate
cli developer-tools pip python
Last synced: 23 days ago
JSON representation
CLI to reinstall a local python package.
- Host: GitHub
- URL: https://github.com/carrascomj/pipterate
- Owner: carrascomj
- Created: 2020-08-30T10:51:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-30T10:53:49.000Z (over 4 years ago)
- Last Synced: 2024-11-05T10:59:44.449Z (2 months ago)
- Topics: cli, developer-tools, pip, python
- Language: Python
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pipterate
pipterate is a tiny CLI application to install and reinstall a local python module.
Depending of the packaging, `pip install -e .` may not work for some python modules. This script helps in the process of reinstalling during development for those cases.
An option is provided to run [pytest](https://docs.pytest.org) after the reinstallation, which obviously requires pytest.
## Installation
1. Clone this repository:
```shell
git clone https://github.com/carrascomj/pipterate.git
cd pipterate
```
2. Put the script under your path. For instance:
```shell
mv pipterate.py ~/.local/bin/pipterate
```
Personally, I prefer to remove the extension.## Run the application:
usage: pipterate.py [-h] [--dir ] [--test]
Simple CLI to reinstall the a local Python package.
optional arguments:
-h, --help show this help message and exit
--dir Path to directory. Default: '.'
--test Run pytest after this.