Skip to content

Commit

Permalink
Merge pull request #23 from Nyaran/bugfix/create-package-fixes
Browse files Browse the repository at this point in the history
feat: Create package fixes
  • Loading branch information
Nyaran authored Nov 5, 2023
2 parents 7246757 + e492857 commit 839c823
Show file tree
Hide file tree
Showing 10 changed files with 631 additions and 408 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Project
data
dist
*.session

### VisualStudioCode template
.vscode/*
Expand Down
10 changes: 10 additions & 0 deletions CONTRIB.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
1. Install Poetry

curl -sSL https://install.python-poetry.org | python -

2. Instalar dependencias
poetry install

3. Construir

poetry build
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
[![Test](https://github.com/Nyaran/telegram-download-daemon-ng/actions/workflows/test.yml/badge.svg)](https://github.com/Nyaran/telegram-download-daemon-ng/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/Nyaran/telegram-download-daemon-ng/branch/main/graph/badge.svg?token=JAAQ2DCW9D)](https://codecov.io/gh/Nyaran/telegram-download-daemon-ng)

![PyPI Downloads](https://img.shields.io/pypi/dw/telegram-download-daemon-ng)
![Docker Pulls](https://img.shields.io/docker/pulls/nyaran/telegram-download-daemon-ng)
![Docker ghcr.io Pulls](https://img.shields.io/github/downloads/Nyaran/telegram-download-daemon-ng/total)
[![PyPI Downloads](https://img.shields.io/pypi/dw/telegram-download-daemon-ng)](https://pypi.org/project/telegram-download-daemon-ng)
[![Docker Pulls](https://img.shields.io/docker/pulls/nyaran/telegram-download-daemon-ng)](https://hub.docker.com/r/nyaran/telegram-download-daemon-ng)
[![Docker ghcr.io Pulls](https://img.shields.io/github/downloads/Nyaran/telegram-download-daemon-ng/total)](https://github.com/Nyaran/telegram-download-daemon-ng/pkgs/container/telegram-download-daemon-ng)

[![Ko-fi](https://img.shields.io/badge/Ko--fi-Nyaran-blue?logo=ko-fi)](https://ko-fi.com/nyaran)
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-Nyaran-blue?logo=buy-me-a-coffee)](https://www.buymeacoffee.com/nyaran)
Expand All @@ -29,7 +29,7 @@ You need Python3.8 or above
Install dependencies by running this command:

```shell
pip install .
pip install telegram-download-daemon-ng
```

Obtain your own api id: https://core.telegram.org/api/obtaining_api_id
Expand Down
212 changes: 212 additions & 0 deletions poetry.lock

Large diffs are not rendered by default.

73 changes: 39 additions & 34 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,43 +1,48 @@
[build-system]
requires = ["hatchling>=1.14.0"]
build-backend = "hatchling.build"

[project]
[tool.poetry]
name = "telegram-download-daemon-ng"
version = "v1.0.0-beta.2"
version = "1.0.0-beta.3"
description = "A daemon to automate telegram download of big files."
authors = ["Luis Zurro <[email protected]>"]
readme = "README.md"
requires-python = ">=3.8"
keywords = [
"download",
"downloads",
"telegram",
]
authors = [
{ name = "Luis Zurro", email = "[email protected]" },
]
license = "GPLv3"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: Spanish",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Development Status :: 3 - Alpha",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: Spanish",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"cffi==1.16.0",
"cryptg==0.4",
"pyaes==1.6.1",
"pyasn1==0.5.0",
"pycparser==2.21",
"rsa==4.9",
"Telethon==1.32.0",
"humanize==4.8.0",
packages = [
{ include = "telegram_download_daemon_ng", from = "src" }
]
keywords = [
"download",
"downloads",
"telegram",
]

[tool.poetry.dependencies]
python = "^3.8"
cffi = "1.16.0"
cryptg = "0.4"
pyaes = "1.6.1"
pyasn1 = "0.5.0"
pycparser = "2.21"
rsa = "4.9"
telethon = "1.32.0"
humanize = "4.8.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.scripts]
telegram-download-daemon-ng = 'telegram_download_daemon_ng:telegram_daemon_start'

[project.urls]
Homepage = "https://github.com/Nyaran/telegram-download-daemon-ng"
Expand Down
Loading

0 comments on commit 839c823

Please sign in to comment.