diff --git a/scripts/build.sh b/scripts/build.sh new file mode 100755 index 0000000..e48a3b3 --- /dev/null +++ b/scripts/build.sh @@ -0,0 +1,7 @@ +#!/bin/zsh +# Build instapy-cli + +rm -Rf build +rm -Rf dist +python setup.py sdist +python setup.py bdist_wheel \ No newline at end of file diff --git a/scripts/dev.sh b/scripts/dev.sh new file mode 100755 index 0000000..55bbfa9 --- /dev/null +++ b/scripts/dev.sh @@ -0,0 +1,3 @@ +#!/bin/zsh + +python setup.py develop \ No newline at end of file diff --git a/scripts/release.sh b/scripts/release.sh new file mode 100755 index 0000000..50e84ed --- /dev/null +++ b/scripts/release.sh @@ -0,0 +1,5 @@ +#!/bin/zsh +# Release new version of instapy-cli +# from build process + +twine upload dist/* \ No newline at end of file diff --git a/setup.py b/setup.py index 5abaef0..d2b67b7 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,5 @@ +from os import path +from io import open try: from setuptools import setup except ImportError: @@ -12,15 +14,23 @@ test_reqs = ['responses>=0.5.1'] +here = path.abspath(path.dirname(__file__)) + +# Get the long description from the README file +with open(path.join(here, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + setup( name='instagram_private_api_extensions', version=__version__, author='ping', - author_email='lastmodified@gmail.com>', + author_email='lastmodified@gmail.com', license='MIT', url='https://github.com/ping/instagram_private_api_extensions/tree/master', keywords='instagram private api extensions', description='An extension module for https://github.com/ping/instagram_private_api', + long_description=long_description, + long_description_content_type='text/markdown', packages=packages, install_requires=['moviepy==0.2.3.2', 'Pillow>=4.0.0', 'requests>=2.9.1'], test_requires=test_reqs,