-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (43 loc) · 2.06 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
https://github.com/frankhuettner/powerindices
"""
from setuptools import setup, find_packages
from codecs import open
# from os import path
# here = path.abspath(path.dirname(__file__))
# # Get the long description from the README file
# with open(path.join(here, 'README.md'), encoding='utf-8') as f:
# long_description_from_md ='\n' + f.read()
long_description = """
It's cumbersome to manage multiple readme files, so please go to the [GitHub page](https://github.com/frankhuettner/powerindices) for further information.
"""
setup(
name='powerindices',
version='1.0.2',
description='This package computes the following powerindices for weighted voting games: Penrose Banzhaf index, Shapley Shubik index, and Coleman Shapley index.', # Required
long_description=long_description, #Pypi and markdown for documentation is seems complicated. So please find details in this readme [this readme](https://github.com/frankhuettner/powerindices/blob/master/README.md)
long_description_content_type='text/markdown',
url='https://github.com/frankhuettner/powerindices',
author='Frank Huettner',
author_email='[email protected]',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Topic :: Sociology',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Mathematics',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='Shapley value Shapley Shubik index Banzhaf Penrose Coleman Power index computation', # Optional
py_modules=["powerindices"],
project_urls={ # Optional
'Source': 'https://github.com/frankhuettner/powerindices/',
},
)