Skip to content

Commit

Permalink
added a setup
Browse files Browse the repository at this point in the history
  • Loading branch information
edsu committed Nov 20, 2022
1 parent dd57ff5 commit 2b1dcc6
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
8 changes: 8 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

# release to pypi!

rm -rf dist
python3 setup.py sdist bdist_wheel
twine upload dist/*

26 changes: 26 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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="[email protected]",
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
""",
)

0 comments on commit 2b1dcc6

Please sign in to comment.