mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 14:46:29 +01:00
Preparing for PyPi package
This commit is contained in:
parent
b4296c25ce
commit
399a39631b
4 changed files with 48 additions and 1 deletions
1
AUTHORS.rst
Normal file
1
AUTHORS.rst
Normal file
|
@ -0,0 +1 @@
|
|||
* Leandro Toledo
|
4
CHANGES
Normal file
4
CHANGES
Normal file
|
@ -0,0 +1,4 @@
|
|||
2015-07-08
|
||||
|
||||
Released 1.0
|
||||
Initial checkin of python-telegram-bot
|
42
setup.py
Normal file
42
setup.py
Normal file
|
@ -0,0 +1,42 @@
|
|||
#!/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()
|
||||
|
||||
|
||||
setup(
|
||||
name='python-telegram-bot',
|
||||
version='1.0',
|
||||
author='Leandro Toledo',
|
||||
author_email='leandrotoledodesouza@gmail.com',
|
||||
license='GPLv2',
|
||||
url='https://github.com/leandrotoledo/python-telegram-bot',
|
||||
keywords='telegram bot api',
|
||||
description='A Python wrapper around the Telegram Bot API',
|
||||
long_description=(read('README.rst') + '\n\n' +
|
||||
read('AUTHORS.rst') + '\n\n' +
|
||||
read('CHANGES')),
|
||||
packages=find_packages(exclude=['tests*']),
|
||||
install_requires=['requests'],
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
|
||||
'Operating System :: OS Independent',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||
'Topic :: Communications :: Chat',
|
||||
'Topic :: Internet',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
],
|
||||
)
|
|
@ -4,7 +4,7 @@
|
|||
"""A library that provides a Python interface to the Telegram Bots API"""
|
||||
|
||||
__author__ = 'leandrotoledodesouza@gmail.com'
|
||||
__version__ = '0.1'
|
||||
__version__ = '1.0'
|
||||
|
||||
import json
|
||||
|
||||
|
|
Loading…
Reference in a new issue