-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
136 lines (131 loc) · 4.57 KB
/
setup.py
File metadata and controls
136 lines (131 loc) · 4.57 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
#!/usr/bin/env python3
"""
Setup script for Telegram Multi-Account Message Sender.
"""
from setuptools import setup, find_packages
from pathlib import Path
# Read the README file
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text(encoding="utf-8")
# Read requirements
requirements = []
with open("requirements.txt", "r", encoding="utf-8") as f:
requirements = [line.strip() for line in f if line.strip() and not line.startswith("#")]
# Read version
version = "1.2.9"
setup(
name="telegram-multi-account-sender",
version=version,
author="VoxHash",
author_email="contact@voxhash.dev",
description="Professional-grade desktop application for managing and sending messages across multiple Telegram accounts",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/VoxHash/Telegram-Multi-Account-Message-Sender",
project_urls={
"Bug Reports": "https://github.com/VoxHash/Telegram-Multi-Account-Message-Sender/issues",
"Source": "https://github.com/VoxHash/Telegram-Multi-Account-Message-Sender",
"Documentation": "https://github.com/VoxHash/Telegram-Multi-Account-Message-Sender/wiki",
"Changelog": "https://github.com/VoxHash/Telegram-Multi-Account-Message-Sender/blob/main/CHANGELOG.md",
},
packages=find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Topic :: Communications :: Chat",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Environment :: X11 Applications :: Qt",
"Environment :: Win32 (MS Windows)",
"Environment :: MacOS X",
],
python_requires=">=3.10",
install_requires=requirements,
extras_require={
"dev": [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-qt>=4.0.0",
"black>=23.0.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
"pre-commit>=3.0.0",
"twine>=4.0.0",
"build>=0.10.0",
],
"docs": [
"sphinx>=6.0.0",
"sphinx-rtd-theme>=1.2.0",
"myst-parser>=1.0.0",
],
},
entry_points={
"console_scripts": [
"telegram-sender=app.cli:main",
"telegram-multi-account-sender=app.cli:main",
],
"gui_scripts": [
"telegram-sender-gui=app.cli:main",
"telegram-multi-account-sender-gui=app.cli:main",
],
},
include_package_data=True,
package_data={
"app": [
"translations/*.json",
"assets/icons/*.ico",
"assets/icons/*.png",
],
},
data_files=[
("example_files", [
"example_files/env_template.txt",
"example_files/recipients_example.csv",
"example_files/templates_example.csv",
"example_files/accounts_example.csv",
"example_files/campaigns_example.csv",
"example_files/sample_media_urls.txt",
"example_files/spintax_examples.txt",
]),
],
keywords=[
"telegram",
"messaging",
"multi-account",
"automation",
"campaign",
"spintax",
"scheduling",
"pyqt5",
"desktop",
"gui",
],
license="BSD 3-Clause License",
zip_safe=False,
platforms=["Windows", "macOS", "Linux"],
maintainer="VoxHash",
maintainer_email="contact@voxhash.dev",
download_url=f"https://github.com/VoxHash/Telegram-Multi-Account-Message-Sender/archive/v{version}.tar.gz",
provides=["telegram_multi_account_sender"],
requires_python=">=3.10",
setup_requires=[
"setuptools>=61.0.0",
"wheel>=0.37.0",
],
tests_require=[
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-qt>=4.0.0",
],
)