[Python] Add long description

This commit is contained in:
Kacper Ziubryniewicz 2019-02-17 11:31:20 +01:00
parent 3500d5e61e
commit 50347d73c7
3 changed files with 19 additions and 2 deletions

View file

@ -4,6 +4,7 @@
[![npm](https://img.shields.io/npm/v/@wulkanowy/uonet-request-signer.svg?style=for-the-badge)](https://www.npmjs.com/package/@wulkanowy/uonet-request-signer)
[![JitPack](https://img.shields.io/jitpack/v/wulkanowy/uonet-request-signer.svg?style=for-the-badge)](https://jitpack.io/#wulkanowy/uonet-request-signer)
[![Packagist Pre Release](https://img.shields.io/packagist/vpre/wulkanowy/uonet-request-signer.svg?style=for-the-badge)](https://packagist.org/packages/wulkanowy/uonet-request-signer)
[![pypi](https://img.shields.io/pypi/v/uonet-request-signer.svg?style=for-the-badge)](https://pypi.org/project/uonet-request-signer/)
## Implementations
@ -11,3 +12,4 @@
- [JS](https://github.com/wulkanowy/uonet-request-signer/tree/master/js)
- [Java](https://github.com/wulkanowy/uonet-request-signer/tree/master/jvm)
- [PHP](https://github.com/wulkanowy/uonet-request-signer/tree/master/php)
- [Python](https://github.com/wulkanowy/uonet-request-signer/tree/master/python)

View file

@ -1,6 +1,6 @@
# Uonet+ request signer for Python
![pypi](https://img.shields.io/pypi/v/uonet-request-signer.svg?style=flat-square)
[![pypi](https://img.shields.io/pypi/v/uonet-request-signer.svg?style=flat-square)](https://pypi.org/project/uonet-request-signer/)
## Installation

View file

@ -1,11 +1,26 @@
# -*- coding: utf-8 -*-
from setuptools import setup
from os import path
import io
import re
here = path.abspath(path.dirname(__file__))
with io.open(path.join(here, "README.md"), "rt", encoding="utf8") as f:
long_description = f.read()
with io.open(
path.join(here, "uonet-request-signer/__init__.py"), "rt", encoding="utf8"
) as f:
version = re.search(r"__version__ = \"(.*?)\"", f.read()).group(1)
setup(
name="uonet-request-signer",
version="1.0.0",
version=version,
description="Uonet+ request signer for Python",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/wulkanowy/uonet-request-signer",
author="Wulkanowy",
author_email="wulkanowyinc@gmail.com",