forked from trezorg/nextcaller-python-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (43 loc) · 1.34 KB
/
setup.py
File metadata and controls
49 lines (43 loc) · 1.34 KB
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
"""The setup and build script for the pynextcaller library."""
import sys
import io
import os
import multiprocessing
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
__author__ = 'Igor Nemilentsev'
__author_email__ = 'trezorg@gmail.com'
__version__ = '0.0.6'
tests_require = ['nose']
if sys.version_info < (3, 3):
tests_require.append('mock')
def read(*names, **kwargs):
return io.open(
os.path.join(os.path.dirname(__file__), *names),
encoding=kwargs.get('encoding', 'utf8')
).read()
setup(
name="pynextcaller",
version=__version__,
author=__author__,
author_email=__author_email__,
description='A Python wrapper around the Nextcaller API',
long_description=read('README.md'),
license='MIT',
url='https://github.com/nextcaller/nextcaller-python-api.git',
keywords='nextcaller, python, api',
packages=find_packages(),
include_package_data=True,
install_requires=['requests'],
test_suite='nose.collector',
tests_require=tests_require,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Communications',
'Topic :: Internet',
],
)