tg/pyproject.toml
Stefano Pigozzi ecb8afb4ef
Use the __main__.py special filename for main.py (#118)
* Use the __main__.py special filename for main.py

This allows users to run the program directly with `py -m tg` instead of `py -m tg.main`.

* Updated script in pyproject.toml to reflect the previous rename

* Updated readme.md to reflect the previous rename

* Update readme.md with a better description of how to install the software

* Once installed through flit, the tg command can be used directly

* Fix errors in the readme.md introduced in the previous commit

* Run the folder instead of the script

* Change title
2020-07-21 20:03:52 +08:00

24 lines
524 B
TOML

[tool.flit.metadata]
module = "tg"
dist-name = "tg"
description-file = "readme.md"
author = "Paul Nameless"
author-email = "reacsdas@gmail.com"
home-page = 'https://github.com/paul-nameless/tg'
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
]
requires-python = ">=3.8"
requires = ['python-telegram==0.12.0']
[tool.flit.scripts]
tg = "tg.__main__:main"
[tool.black]
line-length = 79
[tool.isort]
line_length = 79
multi_line_output = 3
include_trailing_comma = true