2015-07-08 23:22:58 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
'''The setup and build script for the python-telegram-bot library.'''
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
|
|
|
|
|
|
def read(*paths):
|
|
|
|
"""Build a file path from *paths* and return the contents."""
|
|
|
|
with open(os.path.join(*paths), 'r') as f:
|
|
|
|
return f.read()
|
|
|
|
|
|
|
|
|
2015-11-10 15:27:18 +01:00
|
|
|
def requirements():
|
|
|
|
"""Build the requirements list for this project"""
|
|
|
|
requirements_list = []
|
|
|
|
|
|
|
|
with open('requirements.txt') as requirements:
|
|
|
|
for install in requirements:
|
|
|
|
requirements_list.append(install.strip())
|
|
|
|
|
|
|
|
return requirements_list
|
|
|
|
|
|
|
|
|
2015-07-08 23:22:58 +02:00
|
|
|
setup(
|
|
|
|
name='python-telegram-bot',
|
2016-02-28 02:33:49 +01:00
|
|
|
version='3.3',
|
2015-07-08 23:22:58 +02:00
|
|
|
author='Leandro Toledo',
|
2015-12-21 21:18:53 +01:00
|
|
|
author_email='devs@python-telegram-bot.org',
|
2015-08-10 19:40:55 +02:00
|
|
|
license='LGPLv3',
|
2015-12-15 00:36:22 +01:00
|
|
|
url='https://github.com/python-telegram-bot/python-telegram-bot',
|
2015-09-16 05:15:51 +02:00
|
|
|
keywords='python telegram bot api wrapper',
|
2015-07-08 23:22:58 +02:00
|
|
|
description='A Python wrapper around the Telegram Bot API',
|
2015-07-08 23:33:28 +02:00
|
|
|
long_description=(read('README.rst')),
|
2015-07-08 23:22:58 +02:00
|
|
|
packages=find_packages(exclude=['tests*']),
|
2015-11-10 15:27:18 +01:00
|
|
|
install_requires=requirements(),
|
2015-08-11 21:49:38 +02:00
|
|
|
include_package_data=True,
|
2015-07-08 23:22:58 +02:00
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 5 - Production/Stable',
|
|
|
|
'Intended Audience :: Developers',
|
2015-08-10 18:57:31 +02:00
|
|
|
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
|
2015-07-08 23:22:58 +02:00
|
|
|
'Operating System :: OS Independent',
|
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
|
|
'Topic :: Communications :: Chat',
|
|
|
|
'Topic :: Internet',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'Programming Language :: Python :: 2',
|
2015-07-15 16:48:33 +02:00
|
|
|
'Programming Language :: Python :: 2.6',
|
2015-07-08 23:22:58 +02:00
|
|
|
'Programming Language :: Python :: 2.7',
|
2015-07-15 16:48:33 +02:00
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Programming Language :: Python :: 3.2',
|
|
|
|
'Programming Language :: Python :: 3.3',
|
|
|
|
'Programming Language :: Python :: 3.4',
|
2015-07-08 23:22:58 +02:00
|
|
|
],
|
|
|
|
)
|