Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/zsh
# Build instapy-cli

rm -Rf build
rm -Rf dist
python setup.py sdist
python setup.py bdist_wheel
3 changes: 3 additions & 0 deletions scripts/dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/zsh

python setup.py develop
5 changes: 5 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/zsh
# Release new version of instapy-cli
# from build process

twine upload dist/*
12 changes: 11 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from os import path
from io import open
try:
from setuptools import setup
except ImportError:
Expand All @@ -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,
Expand Down