-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
68 lines (56 loc) · 1.93 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
65
66
67
68
"""
"Introduction to Poverty Analysis" by World Bank have been used as a reference for the formula.
Package developed by: Ronak Sisodia
Measures of Poverty:
1. Headcount Index
2. Poverty Index
3. Squared Poverty Index
4. Sen Index
5. Sen-Shorrocks-Thon Index
6. Watts Index
Measures Of Inequality:
1. Gini Coefficient
To Visualise the Inequality graphically
1. Lorenz Curve
"""
from codecs import open # To use a consistent encoding
from os import path
# Use setuptools in preference to distutils
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
here = path.dirname(path.abspath(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.rst')) as f:
long_desc = f.read()
VERSION = '7.2'
DESCRIPTION = "A Python Package to calculate indexes related to poverty and inequality."
LICENSE = "MIT"
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'Operating System :: OS Independent',
'Intended Audience :: Education',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6']
URL="https://github.com/ronak-07/poverty"
KEYWORDS=['Poverty','Inequality','Economics','Gini Coefficient','Lorenz Curve']
setup(
name = 'poverty',
packages=['poverty'],
version=VERSION,
description=DESCRIPTION,
license=LICENSE,
classifiers=CLASSIFIERS,
author= 'Ronak Sisodia',
author_email='[email protected]',
install_requires=['numpy','matplotlib'],
url=URL,
keywords=KEYWORDS,
long_description=long_desc
)