Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7159868
setup.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
setup.py
View Options
#!/usr/bin/python
from
distutils.core
import
setup
import
glob
import
os
import
sylk
def
find_packages
(
root
):
return
[
directory
.
replace
(
os
.
path
.
sep
,
'.'
)
for
directory
,
sub_dirs
,
files
in
os
.
walk
(
root
)
if
'__init__.py'
in
files
]
def
list_resources
(
source_directory
,
destination_directory
):
return
[(
directory
.
replace
(
source_directory
,
destination_directory
),
[
os
.
path
.
join
(
directory
,
f
)
for
f
in
files
])
for
directory
,
sub_dirs
,
files
in
os
.
walk
(
source_directory
)]
setup
(
name
=
'sylkserver'
,
version
=
sylk
.
__version__
,
description
=
'SylkServer - An Extensible RTC Application Server'
,
url
=
'http://sylkserver.com/'
,
author
=
'AG Projects'
,
author_email
=
'support@ag-projects.com'
,
classifiers
=
[
'Development Status :: 5 - Production/Stable'
,
'Intended Audience :: Service Providers'
,
'License :: GNU General Public License 3'
,
'Operating System :: OS Independent'
,
'Programming Language :: Python'
],
packages
=
find_packages
(
'sylk'
),
scripts
=
[
'sylk-server'
],
data_files
=
[(
'/etc/sylkserver'
,
glob
.
glob
(
'*.ini.sample'
)),
(
'/etc/sylkserver/tls'
,
glob
.
glob
(
'resources/tls/*.crt'
))]
+
list_resources
(
'resources'
,
destination_directory
=
'share/sylkserver'
)
)
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Sat, Nov 23, 2:18 PM (22 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3409222
Default Alt Text
setup.py (1 KB)
Attached To
Mode
rSYLK SylkServer
Attached
Detach File
Event Timeline
Log In to Comment