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