transpub/setup.py

52 lines
1.3 KiB
Python
Raw Normal View History

2017-10-29 15:28:12 +00:00
#!/usr/bin/env python
import os
import codecs
from setuptools import setup
def read_file(filename, encoding='utf8'):
"""Read unicode from given file."""
with codecs.open(filename, encoding=encoding) as fd:
return fd.read()
here = os.path.abspath(os.path.dirname(__file__))
readme = read_file(os.path.join(here, 'README.rst'))
setup(name='transwhat',
2019-04-25 19:18:48 +00:00
version='0.2.2',
description='A gateway between the XMPP and the WhatsApp IM networks',
long_description=readme,
keywords='whatsapp xmpp im gateway transport yowsup',
url='https://github.com/stv0g/transwhat',
author='Steffen Vogel',
author_email='stv0g@0l.de',
python_requires='>=3.5',
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Development Status :: 4 - Beta',
'Environment :: Plugins',
'Operating System :: POSIX',
'Topic :: Communications :: Chat'
],
license='GPL-3+',
packages=[
'transWhat',
'Spectrum2'
],
scripts=[
'transWhat/transwhat.py'
],
install_requires=[
'protobuf',
'yowsup',
'e4u',
'Pillow',
'python-dateutil'
],
entry_points={
'console_scripts': ['transwhat=transWhat.transwhat:main'],
},
zip_safe=False,
include_package_data=True
)