-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
388f10f
commit c119fa5
Showing
3 changed files
with
43 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
include README.md | ||
include LICENSE.txt | ||
include requirements.txt | ||
include tox.ini | ||
recursive-include docs Makefile *.rst *.py *.bat | ||
recursive-include tests *.py *.json *.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,55 +2,58 @@ | |
import os | ||
|
||
try: | ||
from setuptools import setup | ||
from setuptools import setup, find_packages | ||
except ImportError: | ||
from ez_setup import use_setuptools | ||
use_setuptools() | ||
from setuptools import setup | ||
from setuptools import setup, find_packages | ||
|
||
def read(fname): | ||
return open(os.path.join(os.path.dirname(__file__), fname)).read() | ||
|
||
setup( | ||
name="django-daraja", | ||
version="1.0", | ||
description="A python django library for interacting with the MPESA Daraja API.", | ||
name='django-daraja', | ||
version='1.0', | ||
description='A python django library for interacting with the MPESA Daraja API.', | ||
long_description= | ||
""" | ||
''' | ||
This is a django module based on the MPESA daraja API. Use it to interact with the MPESA API in a simplified manner, abstracting the details for a simple, intuitive usage experience, as well as extensive error handling. | ||
Read the documentation at https://django-admin.readthedocs.io | ||
Read the documentation at https://django-daraja.readthedocs.io | ||
Daraja API documentation can be found at https://developer.safaricom.co.ke""", | ||
author="Martin Mogusu", | ||
author_email="[email protected]", | ||
url="https://github.com/martinmogusu/django-daraja", | ||
download_url="https://github.com/martinmogusu/django-daraja.git", | ||
license="MIT License", | ||
packages=[ | ||
"django_daraja", | ||
], | ||
Daraja API documentation can be found at https://developer.safaricom.co.ke''', | ||
author='Martin Mogusu', | ||
author_email='[email protected]', | ||
url='https://github.com/martinmogusu/django-daraja', | ||
download_url='https://github.com/martinmogusu/django-daraja.git', | ||
license='MIT License', | ||
packages=find_packages(exclude=['*.tests', '*.tests.*', 'tests.*', 'tests']), | ||
include_package_data=True, | ||
install_requires=[ | ||
"Django>=1.11", | ||
"python-decouple", | ||
"requests" | ||
'Django>=1.11', | ||
'python-decouple', | ||
'requests' | ||
], | ||
tests_require=[ | ||
"nose", | ||
"coverage", | ||
'nose', | ||
'coverage', | ||
], | ||
zip_safe=False, | ||
test_suite="tests.runtests.start", | ||
test_suite='tests.runtests.start', | ||
classifiers=[ | ||
"Operating System :: OS Independent", | ||
"Development Status :: 3 - Alpha", | ||
"Environment :: Web Environment", | ||
"Framework :: Django", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Software Development :: Libraries :: Python Modules" | ||
] | ||
'Operating System :: OS Independent', | ||
'Development Status :: 3 - Alpha', | ||
'Environment :: Web Environment', | ||
'Framework :: Django', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 3', | ||
'Topic :: Software Development :: Libraries :: Python Modules' | ||
], | ||
keywords='mpesa django daraja finance mobile-money', | ||
project_urls={ | ||
'Documentation': 'https://django-daraja.readthedocs.io/', | ||
'Source': 'https://github.com/martinmogusu/django-daraja', | ||
}, | ||
) |