mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-03 03:30:09 +03:00
Generate TL modules after installing package in development mode.
This commit is contained in:
parent
ef794bf75d
commit
9274cec6f2
8
setup.py
8
setup.py
|
@ -19,6 +19,13 @@ import re
|
|||
|
||||
# Always prefer setuptools over distutils
|
||||
from setuptools import find_packages, setup
|
||||
from setuptools.command.develop import develop
|
||||
|
||||
|
||||
class Develop(develop):
|
||||
def run(self):
|
||||
super(Develop, self).run()
|
||||
gen_tl()
|
||||
|
||||
|
||||
class TempWorkDir:
|
||||
|
@ -133,6 +140,7 @@ def main():
|
|||
'telethon_generator', 'telethon_tests', 'run_tests.py',
|
||||
'try_telethon.py'
|
||||
]),
|
||||
cmdclass={'develop': Develop},
|
||||
install_requires=['pyaes', 'rsa']
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user