Commit Graph

39 Commits

Author SHA1 Message Date
Lonami Exo
f3f0c28505 Support converting .tl -> .json 2018-06-13 10:48:35 +02:00
Lonami Exo
4bdc28a775 Show invalid bot methods in the docs 2018-06-06 17:35:06 +02:00
Lonami Exo
32b7e9e27a Whitelist generator's mismatching ID and ya username 2018-05-12 16:12:42 +02:00
Lonami Exo
3008ada98d Distinguish between mtproto/telegram TL like tdlib does 2018-04-28 10:19:55 +02:00
Lonami Exo
e616af8a70 Fix isfile should be isdir when pip installing locally 2018-04-23 20:52:27 +02:00
Lonami Exo
53f7b6063c Fix generate(["clean"]) usage on setup.py 2018-04-15 15:43:18 +02:00
Lonami Exo
5a8f825db8 Use a sensible default for empty setup.py gen command 2018-04-15 13:20:56 +02:00
Lonami Exo
3ed81481f8 Enhance setup.py gen command 2018-04-15 13:19:25 +02:00
Lonami Exo
fc1bc05ca1 Move tlobject and source_builder into their correct folders 2018-04-14 15:16:13 +02:00
Lonami Exo
55b5fca6fd Add python_requires to setup.py 2018-04-04 10:21:55 +02:00
Lonami Exo
09c04282c9 Fix typing dependency must be installed below Python 3.5.2 2018-03-22 19:02:40 +01:00
Lonami Exo
32fd64d655 Remove SQLAlchemy session 2018-03-17 17:38:16 +01:00
Tulir Asokan
935de0afbb Add Python type hints to attributes of TL types (#678) 2018-03-12 10:58:56 +01:00
Lonami Exo
e8a21dc3b9 Fix telethon_generator/ package not being excluded from PyPi 2018-03-04 11:23:18 +01:00
Tulir Asokan
07c2fc50ec Add SQLAlchemy-based session 2018-03-02 13:22:30 +02:00
Dmitry D. Chernov
760d84514f setup: Fix regex failure to match version in case of CRLF line feeds
This could happen e.g. in case of using pip3 to install Telethon directly from the git repo.
2018-02-24 18:25:08 +10:00
Lonami Exo
7c647b57e3 Mention cryptg as an optional dependency 2018-02-17 12:14:23 +01:00
Lonami Exo
2ccb6063e0 Call gen_tl() when installing through setup.py (#530) 2018-01-15 18:46:04 +01:00
Lonami Exo
7509ba9067 Assert that module was generated correctly on setup.py pypi 2017-11-29 12:34:15 +01:00
Andrei Fokau
ef794bf75d Fix importing dependencies during installing (#384) 2017-10-28 12:21:07 +02:00
Lonami Exo
1f1e040af9 Fix setup.py if/elif/else chain 2017-10-22 13:57:02 +02:00
Lonami Exo
83595a0e2d Use more constants in setup.py 2017-10-20 17:32:30 +02:00
Lonami Exo
be9358282a Generate and fetch new errors from setup.py 2017-10-20 17:29:45 +02:00
Lonami Exo
c134d9ba27 Run setup.py gen_tl when installing (may fix #271) 2017-09-29 12:40:03 +02:00
Lonami Exo
7838f8561b Allow running setup.py from other directories 2017-09-29 12:38:53 +02:00
Lonami Exo
2bb26d6389 Modify setup.py to work even if generated code was wrong 2017-09-26 14:29:35 +02:00
Lonami Exo
060b8a8b9c Fix setup.py import subprocess.run (not supported on < py3.5) 2017-09-19 10:16:41 +02:00
Lonami Exo
aea95a398b Add a pypi option to setup.py to easily update the library 2017-09-18 14:03:06 +02:00
Lonami Exo
98bbcb6cd6 Favour rsa module over PyCrypto since the former is pure Python 2017-08-24 18:41:48 +02:00
Lonami Exo
66876b6722 Use pycrypto's RSA instead the old weird RSA implementation 2017-08-23 21:49:27 +02:00
Lonami Exo
3585fb8cc6 Fix setup.py for source distributions 2017-07-04 11:02:54 +02:00
Dmitry D. Chernov
aa7e8dba8a Fix setup.py failing on Python < 3.6 2017-06-24 21:39:43 +02:00
Lonami Exo
a5ce375358 Update to v0.11.1 and fix setup.py 2017-06-24 18:16:10 +02:00
Lonami Exo
e7fac8e254 Add shebang to setup.py 2017-06-21 19:18:22 +02:00
Lonami Exo
b0b814bdb9 Use setup.py to run tl_generator.py instead (plus some cleanup) 2017-06-21 11:27:22 +02:00
Lonami Exo
92b4125b2b Update to v0.11 2017-06-16 10:11:03 +02:00
Fadi Hadzh
d087941bd0 Many code-style improvements 2016-11-30 00:29:42 +03:00
Lonami Exo
4d96de8ab5 Changed README.md to README.rst 2016-11-13 15:39:47 +01:00
Lonami
d8757af5c5 Updated README, minor changes and pip ready
The module is now ready to be installed via pip
README.md has been updated to reflect these changes
Minor changes to the interactive client example
Versioning is now done by editting TelegramClient's
__version__, rather than looking for the string
2016-09-18 12:04:17 +02:00