FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
stream-python/setup.py at link-to-python-docs · GetStream/stream-python · GitHub
GetStream
stream-python
Repository navigation
Code
Issues
2
(2)
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
stream-python
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
81 lines (69 loc) · 2.27 KB
Breadcrumbs
stream-python
/
setup.py
Copy path
File metadata and controls
81 lines (69 loc) · 2.27 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#!/usr/bin/env python
from
setuptools
import
setup
,
find_packages
from
setuptools
.
command
.
test
import
test
as
TestCommand
from
stream
import
__version__
,
__maintainer__
,
__email__
import
sys
unit
=
'unittest2py3k'
if
sys
.
version_info
>
(
3
,
0
,
0
)
else
'unittest2'
tests_require
=
[
'pep8'
,
unit
,
#'pytest',
'python-coveralls'
,
'unittest2'
,
'pytest-cov==1.8.1'
,
'python-dateutil'
]
long_description
=
'''
Documentation
-------------
Full documentation is available on `Github`_.
.. _`Github`: https://github.com/getstream/stream-python
'''
install_requires
=
[
'pyjwt==1.3.0'
,
'requests>=2.3.0'
,
'six>=1.8.0'
,
'httpsig==1.1.2'
]
class
PyTest
(
TestCommand
):
def
finalize_options
(
self
):
TestCommand
.
finalize_options
(
self
)
self
.
test_args
=
[]
self
.
test_suite
=
True
def
run_tests
(
self
):
# import here, cause outside the eggs aren't loaded
import
pytest
errno
=
pytest
.
main
(
'stream/tests.py --cov stream --cov-report term-missing -v'
)
sys
.
exit
(
errno
)
setup
(
name
=
'stream-python'
,
version
=
__version__
,
author
=
__maintainer__
,
author_email
=
__email__
,
url
=
'http://github.com/tschellenbach/stream-python'
,
description
=
'Client for getstream.io. Build scalable newsfeeds & activity streams in a few hours instead of weeks.'
,
long_description
=
long_description
,
packages
=
find_packages
(),
zip_safe
=
False
,
install_requires
=
install_requires
,
extras_require
=
{
'test'
:
tests_require
},
cmdclass
=
{
'test'
:
PyTest
},
tests_require
=
tests_require
,
include_package_data
=
True
,
classifiers
=
[
'Intended Audience :: Developers'
,
'Intended Audience :: System Administrators'
,
'Operating System :: OS Independent'
,
'Topic :: Software Development'
,
'Development Status :: 5 - Production/Stable'
,
'License :: OSI Approved :: GNU General Public License (GPL)'
,
'Natural Language :: English'
,
'Programming Language :: Python :: 2.6'
,
'Programming Language :: Python :: 2.7'
,
'Programming Language :: Python :: 3'
,
'Programming Language :: Python :: 3.3'
,
'Programming Language :: Python :: 3.4'
,
'Topic :: Software Development :: Libraries :: Python Modules'
,
],
)
Back
|
FazBrowse Home
|
New Git URL