Skip to content

Commit

Permalink
Final changes for PyPI release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
malemburg committed Mar 25, 2022
1 parent 61a2712 commit c9d71b7
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 12 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ create-dist:
python3 setup.py sdist bdist_wheel

test-upload:
python3 -m twine -r testpypi dist/*$(VERSION)*
python3 -m twine upload -r testpypi dist/*$(VERSION)*

prod-upload:
python3 -m twine upload -r pypi dist/*$(VERSION)*

### Run the bot

Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
eGenix.com Antispam Bot for Telegram
====================================
eGenix Antispam Bot for Telegram
================================

This bot package provides a simple, yet effective way to deal with spam
signups to [Telegram Messenger](https://telegram.org/) (TG) groups.
Expand All @@ -14,7 +14,7 @@ Features
- Several challenge mechanisms to choose from, more can be added as
needed
- Flexible and easy to use configuration
- Only needs a few MB RAM, so can easily be put into a container or run
- Only needs a few MB of RAM, so can easily be put into a container or run
on a Raspberry Pi
- Can handle quite a bit of load due to the async implementation

Expand Down Expand Up @@ -198,8 +198,8 @@ Motivation
----------

eGenix has long been running a local user group meeting in Düsseldorf
called [Python Meeting Düsseldorf](https://pyddf.de/) and we have been
using a Telegram group for group communication.
called Python Meeting Düsseldorf and we have been using a Telegram group
for group communication.

In the early days, the group worked well and we only had few spammers
joining it, which we could well handle manually. More recently, this has
Expand Down Expand Up @@ -228,9 +228,10 @@ package.
Changelog
---------

- 0.1.0: Initial release
- 0.2.0: Initial release on PyPI
- 0.1.0: Initial release on Github


Enjoy,
*Marc-Andre Lemburg*
Enjoy, \
*Marc-André Lemburg* \
[eGenix.com](https://egenix.com/)
9 changes: 7 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class metadata:
version=__version__
description='eGenix Antispam Bot for Telegram'
long_description=_long_description
long_description_content_type = 'text/markdown'
license='MIT'
author='eGenix.com Software, Skills and Services GmbH'
author_email='[email protected]'
Expand All @@ -36,8 +37,8 @@ class metadata:
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"License :: Freely Distributable",
"License :: Other/Proprietary License",
#"License :: Freely Distributable",
#"License :: Other/Proprietary License",
"Natural Language :: English",
"Operating System :: OS Independent",
#"Operating System :: Microsoft :: Windows",
Expand All @@ -61,6 +62,10 @@ class metadata:
"Development Status :: 5 - Production/Stable",
#"Development Status :: 6 - Mature",
]
install_requires=[
'Pyrogram ~=1.4',
'TgCrypto ~=1.2',
]
python_requires='>=3.9'
packages=[
'telegram_antispam_bot',
Expand Down
2 changes: 1 addition & 1 deletion telegram_antispam_bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
### Globals

# Package version
__version__ = '0.1.0.dev1'
__version__ = '0.2.0'

0 comments on commit c9d71b7

Please sign in to comment.