-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (28 loc) · 911 Bytes
/
setup.py
File metadata and controls
33 lines (28 loc) · 911 Bytes
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
from setuptools import setup, find_packages
import os
def read_version():
version_file = os.path.join(os.path.dirname(__file__), 'paystack4python', 'version.py')
about = {}
with open(version_file, 'r', encoding='utf-8') as f:
exec(f.read(), about)
return about
about = read_version()
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(name='paystack4python',
version=about['__version__'],
description='Python wrapper for Paystack API',
url='https://github.com/mwaiseghegift/paystack4python',
author=about['__author__'],
author_email='[email protected]',
license=about['__license__'],
test_suite='nose.collector',
tests_require=['nose'],
install_requires=[
'requests'
],
packages=find_packages(),
zip_safe=False,
setup_requires=['setuptools_scm'],
use_scm_version=True,
)