Minor fixes and cfg for setuptools

This commit is contained in:
Leandro Toledo 2015-08-14 16:30:30 -03:00
parent 59ff1b68b5
commit 109439022f
3 changed files with 8 additions and 1 deletions

View file

@ -1,2 +1,3 @@
sphinx sphinx
sphinx_rtd_theme sphinx_rtd_theme
sphinx-pypi-upload

View file

@ -1,5 +1,10 @@
[wheel] [wheel]
universal = 1 universal = 1
[upload_docs] [build_sphinx]
source-dir = docs/source
build-dir = docs/build
all_files = 1
[upload_sphinx]
upload-dir = docs/build/html upload-dir = docs/build/html

View file

@ -141,6 +141,7 @@ class Bot(TelegramObject):
data = self._parseAndCheckTelegram(json_data) data = self._parseAndCheckTelegram(json_data)
self.bot = User.de_json(data) self.bot = User.de_json(data)
return self.bot return self.bot
@log @log