Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zurfyx/python-pip-skeleton
Python PIP application skeleton
https://github.com/zurfyx/python-pip-skeleton
pip pypi skeleton
Last synced: about 2 months ago
JSON representation
Python PIP application skeleton
- Host: GitHub
- URL: https://github.com/zurfyx/python-pip-skeleton
- Owner: zurfyx
- License: mit
- Created: 2016-04-02T21:47:17.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-03T09:09:17.000Z (almost 9 years ago)
- Last Synced: 2024-10-25T07:56:32.653Z (3 months ago)
- Topics: pip, pypi, skeleton
- Language: Python
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python PIP Skeleton
## Execute
One of the following:
```
$ bin/hello
$ python -m hello
$ python hello/__main__.py
```## Install
One of the following:
```
$ pip install -e Hello
$ python setup.py install
```## Develop
Main: `hello/__init__.py`
Logic: `hello/Hello.py`
## Publish to PyPI
Strongly suggest to read over [Uploading your Project to PyPI](http://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#uploading-your-project-to-pypi)
### Requeriments
Python 2: `apt-get install python-setuptools`
Python 3: `apt-get install python3-setuptools`
### First time
```
$ python setup.py sdist register
```
Beware that passwords are sent plain text. See [twine](https://packaging.python.org/en/latest/projects/#twine)### Recurrent
```
$ python setup.py sdist upload
```
Beware that passwords are sent plain text. See [twine](https://packaging.python.org/en/latest/projects/#twine)### Pypi config file
Edit: `~/.pypirc`
```
[distutils]
index-servers=pypi[pypi]
repository=https://pypi.python.org/pypi
username=
password=
```