Skip to content

Commit

Permalink
Version 0.3.2
Browse files Browse the repository at this point in the history
README mod, new long desc and minor renaming of internal metadata.
Added MANIFEST and setup.cfg.
  • Loading branch information
hbldh committed Feb 4, 2016
1 parent 37c3f09 commit e45c7ae
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 37 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
@@ -0,0 +1 @@
include LICENSE
4 changes: 4 additions & 0 deletions README.rst
Expand Up @@ -3,6 +3,10 @@ PyBankID

.. image:: https://travis-ci.org/hbldh/pybankid.svg?branch=master
:target: https://travis-ci.org/hbldh/pybankid
.. image:: http://img.shields.io/pypi/v/pybankid.svg
:target: https://pypi.python.org/pypi/pybankid/
.. image:: http://img.shields.io/pypi/dm/pybankid.svg
:target: https://pypi.python.org/pypi/pybankid/

PyBankID is a client for performing BankID signing.

Expand Down
34 changes: 11 additions & 23 deletions bankid/__init__.py
Expand Up @@ -21,9 +21,9 @@
# version.
_version_major = 0
_version_minor = 3
_version_patch = 1
_version_patch = 2
# _version_extra = 'dev4'
#_version_extra = 'rc1'
# _version_extra = 'a1'
_version_extra = '' # Uncomment this for full releases

# Construct full version string from these.
Expand All @@ -36,33 +36,21 @@
version = __version__ # backwards compatibility name
version_info = (_version_major, _version_minor, _version_patch, _version_extra)

_description = "BankID client for Python"

_long_description = """
PyBankID is a client for performing BankID signing.
The Swedish BankID solution for digital signing uses a SOAP
connection solution, and this module aims at providing a simplifying
client for making authentication, signing and collect requests to
the BankID servers.
The latest development version is available at the project's `GitHub
site <https://github.com/hbldh/pybankid/>`_.
"""
__description__ = "BankID client for Python"

__license__ = 'MIT'

_authors = {
__authors__ = {
'hbldh': ('Henrik Blidh', 'henrik.blidh@nedomkull.com'),
}
_author = 'Henrik Blidh'
_author_email = 'henrik.blidh@nedomkull.com'
_url = 'https://github.com/hbldh/pybankid/'
_download_url = 'https://github.com/hbldh/pybankid/tarball/' + '.'.join(map(str, _ver))
__author__ = 'Henrik Blidh'
__author_email__ = 'henrik.blidh@nedomkull.com'
__url__ = 'https://github.com/hbldh/pybankid/'
__download_url__ = 'https://github.com/hbldh/pybankid/tarball/' + '.'.join(map(str, _ver))

_platforms = ['Linux', 'Mac OSX', 'Windows XP/Vista/7/8']
_keywords = ['BankID', 'SOAP']
_classifiers = [
__platforms__ = ['Linux', 'Mac OSX', 'Windows XP/Vista/7/8']
__keywords__ = ['BankID', 'SOAP']
__classifiers__ = [
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
@@ -0,0 +1,2 @@
[wheel]
universal=1
42 changes: 28 additions & 14 deletions setup.py
@@ -1,14 +1,19 @@
# -*- coding: utf-8 -*-
"""
:mod:`setup`
============
PyBankID
========
.. module:: setup
:platform: Unix, Windows
:synopsis: Setup file for pybankid.
PyBankID is a client for performing BankID signing.
.. moduleauthor:: hbldh <henrik.blidh@nedomkull.com>
The Swedish BankID solution for digital signing uses a SOAP
connection solution, and this module aims at providing a simplifying
client for making authentication, signing and collect requests to
the BankID servers.
The latest development version is available at the project's `GitHub
site <https://github.com/hbldh/pybankid/>`_.
Created by hbldh <henrik.blidh@nedomkull.com>
Created on 2013-09-14, 19:31
"""
Expand All @@ -17,20 +22,29 @@
from __future__ import print_function
from __future__ import absolute_import

import bankid
import os
from setuptools import setup, find_packages
import bankid

# Get the long description from the README file
try:
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.rst')) as f:
long_description = f.read()
except:
long_description = __doc__


setup(
name='pybankid',
version=bankid.__version__,
author=bankid._author,
author_email=bankid._author_email,
description=bankid._description,
long_description=bankid._long_description,
author=bankid.__author__,
author_email=bankid.__author_email__,
description=bankid.__description__,
long_description=long_description,
license=bankid.__license__,
url=bankid._url,
classifiers=bankid._classifiers,
platforms=bankid._platforms,
url=bankid.__url__,
classifiers=bankid.__classifiers__,
platforms=bankid.__platforms__,
packages=find_packages(exclude=('tests', )),
package_data={'': ['*.pem']},
install_requires=[
Expand Down

0 comments on commit e45c7ae

Please sign in to comment.