Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jpush-api-python-client
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
jpush-api-python-client
Commits
b5d0e42d
Commit
b5d0e42d
authored
Sep 08, 2015
by
hupantingxue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16 from Rejown/master
fixes jpush/jpush-api-python-client#15
parents
671d06dd
334a449f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
12 deletions
+8
-12
.travis.yml
.travis.yml
+0
-1
README.rst
README.rst
+0
-9
setup.py
setup.py
+8
-2
No files found.
.travis.yml
View file @
b5d0e42d
...
...
@@ -8,7 +8,6 @@ python:
# command to install dependencies
install
:
-
pip install requests
-
pip install .
# command to run tests
...
...
README.rst
View file @
b5d0e42d
...
...
@@ -18,15 +18,6 @@ JPush Rest API Documents: `http://docs.jpush.cn/display/dev/REST+API <http://doc
You can download the latest release file here: `Releases <https://github.com/jpush/jpush-api-python-client/releases>`_
------------
Dependencies
------------
You need to install requests, the python http library, to use jpush python client.
.. code-block:: sh
$ sudo pip install requests
------------
Installation
------------
...
...
setup.py
View file @
b5d0e42d
# -*- coding: utf-8 -*-
import
re
import
ast
try
:
from
setuptools
import
setup
except
(
ImportError
):
from
distutils.core
import
setup
from
jpush
import
__version__
_version_re
=
re
.
compile
(
r'__version__\s+=\s+(.*)'
)
with
open
(
'jpush/__init__.py'
,
'rb'
)
as
f
:
version
=
str
(
ast
.
literal_eval
(
_version_re
.
search
(
f
.
read
()
.
decode
(
'utf-8'
))
.
group
(
1
)))
setup
(
name
=
'jpush'
,
version
=
__version__
,
version
=
version
,
description
=
'JPush
\'
s officially supported Python client library'
,
keywords
=
(
'JPush'
,
'JPush API'
,
'Android Push'
,
'iOS Push'
),
license
=
'MIT License'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment