Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7159647
setup.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
setup.py
View Options
#!/usr/bin/python3
import
glob
from
setuptools
import
setup
import
__info__
as
package_info
long_description
=
"""
Sylk Pushserver was designed to act as a central dispatcher for mobile push
notifications inside RTC provider infrastructures. Both the provider and
the mobile application customer, in the case of a shared infrastructure, can
easily audit problems related to the processing of push notifications.
"""
def
requirements
():
install_requires
=
[]
with
open
(
'requirements.txt'
)
as
f
:
for
line
in
f
:
install_requires
.
append
(
line
.
strip
())
return
install_requires
setup
(
name
=
package_info
.
__project__
,
version
=
package_info
.
__version__
,
description
=
package_info
.
__summary__
,
long_description
=
long_description
,
author
=
package_info
.
__author__
,
license
=
package_info
.
__license__
,
platforms
=
[
'Platform Independent'
],
author_email
=
package_info
.
__email__
,
url
=
package_info
.
__webpage__
,
scripts
=
[
'sylk-pushserver'
,
'scripts/sylk-pushclient'
],
packages
=
[
'pushserver/api'
,
'pushserver/api/errors'
,
'pushserver/api/routes'
,
'pushserver/applications'
,
'pushserver/models'
,
'pushserver/resources'
,
'pushserver/pns'
],
install_requires
=
requirements
(),
classifiers
=
[
'Development Status :: 5 - Production/Stable'
,
'Intended Audience :: Service Providers'
,
'License :: GPL v3'
,
'Operating System :: OS Independent'
,
'Programming Language :: Python'
,
],
data_files
=
[(
'/etc/sylk-pushserver'
,
[]),
(
'/etc/sylk-pushserver'
,
glob
.
glob
(
'config/*.sample'
)),
(
'/etc/sylk-pushserver/credentials'
,
[]),
(
'/etc/sylk-pushserver/applications'
,
glob
.
glob
(
'config/applications/*.py'
)),
(
'/etc/sylk-pushserver/applications/app_template'
,
glob
.
glob
(
'config/applications/app_template/*.py'
)),
(
'/var/log/sylk-pushserver'
,
[])]
)
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Sat, Nov 23, 8:35 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3409048
Default Alt Text
setup.py (2 KB)
Attached To
Mode
rSYLKPUSH Sylk Pushserver
Attached
Detach File
Event Timeline
Log In to Comment