Skip to content

Commit

Permalink
Added PyPi packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosat committed Mar 29, 2019
1 parent 3c7ba52 commit db0c4df
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 7 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
exclude .gitignore
exclude .coverage
exclude .travis.yml
exclude .vscode
include README.md
exclude setup.cfg
prune .cache
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

This is a simple console tool for dumping message history from a Telegram chat into a __jsonl__, __csv__ or plain __text__ file.
## Installation
**From PyPI:**
```
pip install telegram-messages-dump
```
**From sources:**
Fetch the latest sources with git:
```
Expand Down
26 changes: 19 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,37 @@
# pylint: disable=missing-docstring

"""Setup script for telegram-messages-dump"""

import os.path
from setuptools import setup
from telegram_messages_dump import __version__

# The directory containing this file
HERE = os.path.abspath(os.path.dirname(__file__))

# The text of the README file
with open(os.path.join(HERE, "README.md")) as fid:
README = fid.read()

setup(
name='telegram-messages-dump',
version=__version__,
description='Telegram Messages Dump console util.',
author='Kostya K',
description='Telegram Messages Dump console utility.',
long_description_content_type="text/markdown",
long_description=README,
author='Kostya Kravets',
author_email='[email protected]',
url='https://github.com/Kosat/telegram-messages-dump',
download_url='https://github.com/Kosat/telegram-messages-dump/releases',
install_requires=['telethon==1.6.2'],
license="MIT",
packages=['telegram_messages_dump', "telegram_messages_dump.exporters"],
include_package_data=True,
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: MIT',
'Operating System :: MacOS',
'Operating System :: Unix',
'Operating System :: Windows',
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
'Programming Language :: Python :: 3'
],
entry_points={
Expand Down

0 comments on commit db0c4df

Please sign in to comment.