-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (39 loc) · 1011 Bytes
/
setup.py
File metadata and controls
42 lines (39 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
from setuptools import setup, find_packages
# Define test requirements
test_requirements = [
"pytest>=7.0.0",
"pytest-asyncio>=0.20.0",
"pytest-cov>=4.0.0",
]
# Define development requirements
dev_requirements = [
"black>=23.3.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"flake8-docstrings>=1.7.0",
"pre-commit>=3.3.0",
] + test_requirements
setup(
name="telegraphite",
version="0.1.0",
packages=find_packages(),
install_requires=[
"telethon>=1.24.0",
"python-dotenv>=0.19.0",
"pyyaml>=6.0",
],
extras_require={
"test": test_requirements,
"dev": dev_requirements,
},
entry_points={
"console_scripts": [
"telegraphite=telegraphite.cli:main",
],
},
author="TeleGraphite Developer",
author_email="example@example.com",
description="A tool to fetch and save posts from public Telegram channels",
keywords="telegram, telethon, scraper",
python_requires=">=3.6",
)