mirror of
https://github.com/paul-nameless/tg
synced 2024-11-24 21:03:06 +00:00
parent
58927d73ef
commit
120d12cc47
3 changed files with 32 additions and 7 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -7,3 +7,7 @@ dist
|
|||
Makefile
|
||||
.idea/
|
||||
*monkeytype.sqlite3
|
||||
.vscode/
|
||||
build/
|
||||
MANIFEST
|
||||
tg.egg-info/
|
||||
|
|
|
@ -67,20 +67,15 @@ pip3 install tg
|
|||
tg
|
||||
```
|
||||
|
||||
### Using flit
|
||||
### Using setup.py
|
||||
|
||||
This option is recommended for development:
|
||||
|
||||
> Requires [flit](https://github.com/takluyver/flit) to be installed.
|
||||
>
|
||||
> ```sh
|
||||
> pip3 install flit
|
||||
> ```
|
||||
|
||||
```sh
|
||||
git clone https://github.com:paul-nameless/tg.git
|
||||
cd tg
|
||||
flit install
|
||||
python setup.py install
|
||||
tg
|
||||
```
|
||||
|
||||
|
|
26
setup.py
Normal file
26
setup.py
Normal file
|
@ -0,0 +1,26 @@
|
|||
from setuptools import setup
|
||||
|
||||
import tg
|
||||
|
||||
with open("readme.md", "r") as fh:
|
||||
readme = fh.read()
|
||||
|
||||
|
||||
setup(
|
||||
long_description=readme,
|
||||
long_description_content_type="text/markdown",
|
||||
name="tg",
|
||||
version=tg.__version__,
|
||||
description="Terminal client for telegram",
|
||||
url="https://github.com/paul-nameless/tg",
|
||||
author="Paul Nameless",
|
||||
author_email="reacsdas@gmail.com",
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
],
|
||||
packages=["tg"],
|
||||
entry_points={"console_scripts": ["tg = tg.__main__:main"]},
|
||||
python_requires=">=3.8",
|
||||
install_requires=["python-telegram==0.12.0"],
|
||||
)
|
Loading…
Reference in a new issue