https://github.com/rossant/pipo
CLI helper for setuptools
https://github.com/rossant/pipo
Last synced: 5 months ago
JSON representation
CLI helper for setuptools
- Host: GitHub
- URL: https://github.com/rossant/pipo
- Owner: rossant
- License: bsd-3-clause
- Created: 2016-03-24T21:04:06.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-25T19:38:28.000Z (almost 10 years ago)
- Last Synced: 2024-10-30T18:52:43.351Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pipo
setuptools, pip, PyPI made easy.
## Installation
```bash
pip install pipo
```
Dependencies:
* Python 2 or 3
* pip
* twine
* click
* requests
## Usage
```bash
pipo register # register your new project on PyPI
pipo version # show the version of the library, and the latest PyPI version
pipo build # build tar.gz and wheel
pipo release # upload your files on PyPI using twine
pipo bump # bump the build version number as defined in your __init__.py
pipo --help # show the list of commands
```
## Notes
This tool has been tailored to my needs and to the way I structure my Python packages. You may have to fork and adapt it to your own projects.
It is assumed that your library matches one of the following structures:
```
mylib/ # root of the git repository
|- mylib/ # package directory
|- __init__.py
```
or for smaller projects:
```
mylib/ # root of the git repository
|- mylib.py # main file
```
### About `pipo bump`
The `pipo bump` command bumps the **build number** of the version as defined in either `libname.py` or `libname/__init__.py` by:
```python
__version__ = 'X.Y.Z'
```
This command asks for confirmation to commit the change with the `Bump version` commit message.