mirror of
https://github.com/pacnpal/pip-add.git
synced 2025-12-20 12:11:04 -05:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af517b1283 |
24
README.md
24
README.md
@@ -43,7 +43,7 @@ pipx install pip-add
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Installation
|
### Package Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Basic package installation
|
# Basic package installation
|
||||||
@@ -133,7 +133,7 @@ pip-add -r -f requirements/dev.txt requests
|
|||||||
|
|
||||||
## Command Line Options
|
## Command Line Options
|
||||||
|
|
||||||
```
|
```bash
|
||||||
pip-add [-h] [-d] [-e] [-r] [-f REQUIREMENTS_FILE] package
|
pip-add [-h] [-d] [-e] [-r] [-f REQUIREMENTS_FILE] package
|
||||||
|
|
||||||
positional arguments:
|
positional arguments:
|
||||||
@@ -194,29 +194,15 @@ The tool is designed to safely handle dependencies:
|
|||||||
- pip
|
- pip
|
||||||
- setuptools
|
- setuptools
|
||||||
|
|
||||||
## Development
|
|
||||||
|
|
||||||
### Local Setup
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Clone the repository
|
|
||||||
git clone https://github.com/PacNPal/pip-add.git
|
|
||||||
cd pip-add
|
|
||||||
|
|
||||||
# Create virtual environment
|
|
||||||
python -m venv venv
|
|
||||||
source venv/bin/activate # or `venv\Scripts\activate` on Windows
|
|
||||||
|
|
||||||
# Install in development mode
|
|
||||||
pip install -e .
|
|
||||||
```
|
|
||||||
|
|
||||||
## Common Scenarios
|
## Common Scenarios
|
||||||
|
|
||||||
### New Project
|
### New Project
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# First time setup
|
# First time setup
|
||||||
|
pip-add flask
|
||||||
|
# Creates requirements.txt and adds Flask
|
||||||
|
|
||||||
pip-add -d flask
|
pip-add -d flask
|
||||||
# Creates requirements.txt and adds Flask with dependencies
|
# Creates requirements.txt and adds Flask with dependencies
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user