mirror of
https://github.com/pacnpal/pip-add.git
synced 2025-12-20 04:01:05 -05:00
Update README.md and bump version to 0.1.1 with Python 3.11+ support
This commit is contained in:
24
README.md
24
README.md
@@ -16,9 +16,13 @@ A command-line tool that combines package installation and requirements.txt mana
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone the repository
|
# Install from PyPI
|
||||||
pip install pip-add
|
pip install pip-add
|
||||||
|
|
||||||
|
# Or install latest version
|
||||||
|
pip install --upgrade pip-add
|
||||||
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
@@ -117,25 +121,21 @@ The tool is designed to safely handle dependencies:
|
|||||||
- **Analysis**: Shows which dependencies were kept and why
|
- **Analysis**: Shows which dependencies were kept and why
|
||||||
- **Protection**: Prevents breaking other installed packages
|
- **Protection**: Prevents breaking other installed packages
|
||||||
|
|
||||||
## File Structure
|
|
||||||
|
|
||||||
```
|
|
||||||
pip_add/
|
|
||||||
├── setup.py # Package configuration
|
|
||||||
├── pip_add/
|
|
||||||
│ ├── __init__.py # Package initialization
|
|
||||||
│ └── cli.py # Main implementation
|
|
||||||
```
|
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- Python 3.6+
|
- Python 3.6+
|
||||||
- pip
|
- pip
|
||||||
- setuptools
|
- setuptools
|
||||||
|
|
||||||
## Development Setup
|
## Development
|
||||||
|
|
||||||
|
### Local Setup
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# Clone the repository
|
||||||
|
git clone https://github.com/PacNPal/pip-add.git
|
||||||
|
cd pip-add
|
||||||
|
|
||||||
# Create virtual environment
|
# Create virtual environment
|
||||||
python -m venv venv
|
python -m venv venv
|
||||||
source venv/bin/activate # or `venv\Scripts\activate` on Windows
|
source venv/bin/activate # or `venv\Scripts\activate` on Windows
|
||||||
|
|||||||
4
setup.py
4
setup.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pip-add",
|
name="pip-add",
|
||||||
version="0.1.0",
|
version="0.1.1",
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"pip",
|
"pip",
|
||||||
@@ -15,7 +15,7 @@ setup(
|
|||||||
},
|
},
|
||||||
author="PacNPal",
|
author="PacNPal",
|
||||||
author_email="pac@pacnp.al",
|
author_email="pac@pacnp.al",
|
||||||
description="A CLI tool to install packages and add them to requirements.txt",
|
description="A CLI tool to install packages and manage requirements.txt in one command",
|
||||||
long_description=open('README.md').read(),
|
long_description=open('README.md').read(),
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
url="https://github.com/PacNPal/pip-add",
|
url="https://github.com/PacNPal/pip-add",
|
||||||
|
|||||||
Reference in New Issue
Block a user