mirror of https://github.com/tqdm/tqdm.git
fix console entry point
This commit is contained in:
parent
46135ce627
commit
ed82bf38cb
2
setup.py
2
setup.py
|
@ -53,7 +53,7 @@ setup(
|
|||
packages=['tqdm'] + ['tqdm.' + i for i in find_packages('tqdm')],
|
||||
provides=['tqdm'],
|
||||
extras_require=extras_require,
|
||||
entry_points={'console_scripts': ['tqdm=tqdm._main:main'], },
|
||||
entry_points={'console_scripts': ['tqdm=tqdm.cli:main'], },
|
||||
package_data={'tqdm': ['CONTRIBUTING.md', 'LICENCE', 'examples/*.py',
|
||||
'tqdm.1', 'requirements-dev.txt']},
|
||||
python_requires='>=2.6, !=3.0.*, !=3.1.*',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from .main import * # NOQA
|
||||
from .main import __all__ # NOQA
|
||||
from .cli import * # NOQA
|
||||
from .cli import __all__ # NOQA
|
||||
from .std import TqdmDeprecationWarning
|
||||
from warnings import warn
|
||||
warn("This function will be removed in tqdm==5.0.0\n"
|
||||
"Please use `tqdm.main.*` instead of `tqdm._main.*`",
|
||||
"Please use `tqdm.cli.*` instead of `tqdm._main.*`",
|
||||
TqdmDeprecationWarning)
|
||||
|
|
Loading…
Reference in New Issue