2013-01-31 15:09:59 -05:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2013-08-07 11:51:03 -04:00
|
|
|
import zulip
|
2013-01-31 15:09:59 -05:00
|
|
|
|
2013-02-22 11:42:53 -05:00
|
|
|
import os
|
2013-01-31 15:09:59 -05:00
|
|
|
from distutils.core import setup
|
|
|
|
|
2013-03-26 17:55:57 -04:00
|
|
|
def recur_expand(target_root, dir):
|
|
|
|
for root, _, files in os.walk(dir):
|
|
|
|
paths = [os.path.join(root, f) for f in files]
|
|
|
|
if len(paths):
|
|
|
|
yield os.path.join(target_root, root), paths
|
|
|
|
|
2013-08-07 11:51:03 -04:00
|
|
|
setup(name='zulip',
|
|
|
|
version=zulip.__version__,
|
2013-08-06 15:32:15 -04:00
|
|
|
description='Bindings for the Zulip message API',
|
|
|
|
author='Zulip, Inc.',
|
2013-10-04 13:59:25 -04:00
|
|
|
author_email='zulip@zulip.com',
|
2013-01-31 15:09:59 -05:00
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 3 - Alpha',
|
|
|
|
'Environment :: Web Environment',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Topic :: Communications :: Chat',
|
|
|
|
],
|
2013-07-24 17:53:39 -04:00
|
|
|
url='https://www.zulip.com/dist/api/',
|
2013-08-07 11:51:03 -04:00
|
|
|
packages=['zulip'],
|
2013-08-07 12:32:51 -04:00
|
|
|
data_files=[('share/zulip/examples', ["examples/zuliprc", "examples/send-message", "examples/subscribe",
|
2013-06-24 15:42:49 -04:00
|
|
|
"examples/get-public-streams", "examples/unsubscribe",
|
|
|
|
"examples/list-members", "examples/list-subscriptions",
|
|
|
|
"examples/print-messages"])] + \
|
2013-10-02 15:39:09 -04:00
|
|
|
list(recur_expand('share/zulip', 'integrations/')),
|
2013-08-07 11:52:53 -04:00
|
|
|
scripts=["bin/zulip-send"],
|
2013-01-31 15:09:59 -05:00
|
|
|
)
|