This repository has been archived by the owner on Aug 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathsetup.py
65 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
"""OneSignal Python setup module.
See:
https://github.com/joaobarbosa/onesignal-python
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
__version__ = None
with open('onesignalclient/version.py') as f:
exec(f.read())
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
# Project
name='onesignal-python',
version=str(__version__),
description='Python client for OneSignal push notification service',
long_description=long_description,
url='https://github.com/joaobarbosa/onesignal-python',
# Author
author='João Barbosa',
author_email='[email protected]',
license='MIT',
# Classifiers - https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
'Development Status :: 2 - Pre-Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# License
'License :: OSI Approved :: MIT License',
# Python versions you support
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='onesignal client push notifications api',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# Requirements - https://packaging.python.org/en/latest/requirements.html
install_requires=[
'requests>=2.13,<3.0',
],
# List additional groups of dependencies here - pip install -e .[dev,test]
extras_require={
'dev': [],
'test': [
'pytest==3.0.4',
'pytest-cov==2.4.0',
'pytest-pep8==1.0.6',
'responses==0.5.1'
],
},
)