From 5705141fd81b6630fe3ad8f10926bcd3a0bc4795 Mon Sep 17 00:00:00 2001 From: Koen Rouwhorst Date: Sat, 28 Sep 2019 18:26:11 +0200 Subject: [PATCH] Prepare PyPI package --- __init__.py | 1 + bin/delete-tweets | 5 +++++ setup.py | 24 ++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 __init__.py create mode 100644 bin/delete-tweets create mode 100644 setup.py diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..f3c9334 --- /dev/null +++ b/__init__.py @@ -0,0 +1 @@ +name = "delete-tweets" diff --git a/bin/delete-tweets b/bin/delete-tweets new file mode 100644 index 0000000..c2aacb6 --- /dev/null +++ b/bin/delete-tweets @@ -0,0 +1,5 @@ +#!/usr/bin/env python + +from deletetweets import main + +main() diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..9502ece --- /dev/null +++ b/setup.py @@ -0,0 +1,24 @@ +import setuptools + +with open("README.md", "r") as fh: + long_description = fh.read() + +setuptools.setup( + name="delete-tweets", + version="1.0.0", + author="Koen Rouwhorst", + author_email="info@koenrouwhorst.nl", + description="Delete tweets from your Twitter timeline.", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/koenrh/delete-tweets", + packages=setuptools.find_packages(), + scripts=['bin/delete-tweets'], + classifiers=[ + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 2.7", + "License :: OSI Approved :: ISC License (ISCL)", + "Operating System :: OS Independent", + ], + python_requires='>=2.7', +)