5
5
from setuptools import setup , find_packages
6
6
except ImportError :
7
7
from ez_setup import use_setuptools
8
+
8
9
use_setuptools ()
9
10
from setuptools import setup , find_packages
10
11
12
+
11
13
def read (fname ):
12
14
return open (os .path .join (os .path .dirname (__file__ ), fname )).read ()
13
15
16
+
14
17
setup (
15
- name = 'django-daraja' ,
16
- version = '1.2.0' ,
17
- description = 'A python django library for interacting with the Safaricom MPESA Daraja API.' ,
18
- long_description =
19
- '''
18
+ name = "django-daraja" ,
19
+ version = "1.3.0" ,
20
+ description = "A python django library for interacting with the Safaricom MPESA Daraja API." ,
21
+ long_description = """
20
22
This is a django library based on the Safaricom MPESA daraja API. Use it for a simplified experience, spend less time setting up...
21
23
22
24
Read the full documentation at https://django-daraja.readthedocs.io
23
25
24
- MPESA Daraja API documentation can be found at https://developer.safaricom.co.ke''' ,
25
- author = ' Martin Mogusu' ,
26
- author_email = ' martinmogusu@gmail.com' ,
27
- url = ' https://github.com/martinmogusu/django-daraja' ,
28
- download_url = ' https://github.com/martinmogusu/django-daraja.git' ,
29
- license = ' MIT License' ,
30
- packages = find_packages (exclude = [' *.tests' , ' *.tests.*' , ' tests.*' , ' tests' ]),
26
+ MPESA Daraja API documentation can be found at https://developer.safaricom.co.ke""" ,
27
+ author = " Martin Mogusu" ,
28
+ author_email = " martinmogusu@gmail.com" ,
29
+ url = " https://github.com/martinmogusu/django-daraja" ,
30
+ download_url = " https://github.com/martinmogusu/django-daraja.git" ,
31
+ license = " MIT License" ,
32
+ packages = find_packages (exclude = [" *.tests" , " *.tests.*" , " tests.*" , " tests" ]),
31
33
include_package_data = True ,
32
- install_requires = [
33
- 'Django>=1.11' ,
34
- 'python-decouple' ,
35
- 'requests' ,
36
- 'cryptography'
37
- ],
34
+ install_requires = ["Django>=1.11" , "python-decouple" , "requests" , "cryptography" ],
38
35
tests_require = [
39
- ' nose' ,
40
- ' coverage' ,
36
+ " nose" ,
37
+ " coverage" ,
41
38
],
42
39
zip_safe = False ,
43
- test_suite = ' tests.runtests.start' ,
40
+ test_suite = " tests.runtests.start" ,
44
41
classifiers = [
45
- ' Operating System :: OS Independent' ,
46
- ' Development Status :: 5 - Production/Stable' ,
47
- ' Environment :: Web Environment' ,
48
- ' Framework :: Django' ,
49
- ' Intended Audience :: Developers' ,
50
- ' License :: OSI Approved :: MIT License' ,
51
- ' Programming Language :: Python :: 2' ,
52
- ' Programming Language :: Python :: 3' ,
53
- ' Topic :: Software Development :: Libraries :: Python Modules'
42
+ " Operating System :: OS Independent" ,
43
+ " Development Status :: 5 - Production/Stable" ,
44
+ " Environment :: Web Environment" ,
45
+ " Framework :: Django" ,
46
+ " Intended Audience :: Developers" ,
47
+ " License :: OSI Approved :: MIT License" ,
48
+ " Programming Language :: Python :: 2" ,
49
+ " Programming Language :: Python :: 3" ,
50
+ " Topic :: Software Development :: Libraries :: Python Modules" ,
54
51
],
55
- keywords = ' mpesa django daraja finance mobile-money safaricom api' ,
52
+ keywords = " mpesa django daraja finance mobile-money safaricom api" ,
56
53
project_urls = {
57
- ' Documentation' : ' https://django-daraja.readthedocs.io/' ,
58
- ' Source' : ' https://github.com/martinmogusu/django-daraja' ,
59
- },
60
- )
54
+ " Documentation" : " https://django-daraja.readthedocs.io/" ,
55
+ " Source" : " https://github.com/martinmogusu/django-daraja" ,
56
+ },
57
+ )
0 commit comments