diff --git a/release.sh b/release.sh new file mode 100755 index 0000000..4f3b05c --- /dev/null +++ b/release.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# release to pypi! + +rm -rf dist +python3 setup.py sdist bdist_wheel +twine upload dist/* + diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..28f11cd --- /dev/null +++ b/setup.py @@ -0,0 +1,26 @@ +from setuptools import setup + +__version__ = "0.0.1" + +def long_description(): + with open("README.md") as f: + return f.read() + +setup( + name="twitter_archive_unshorten", + version=__version__, + author="Ed Summers", + author_email="ehs@pobox.com", + license="MIT", + py_modules=["twitter_archive_unshorten"], + url="https://github.com/docnow/twitter_archive_unshorten", + description="Unshorten the URLs in your Twitter archive", + long_description=long_description(), + long_description_content_type="text/markdown", + python_requires=">3.5.0", + zip_safe=True, + entry_points=""" + [console_scripts] + "twitter_archive_unshorten" = twitter_archive_unshorten:main + """, +)