-
-
Notifications
You must be signed in to change notification settings - Fork 619
/
setup.py
51 lines (46 loc) · 1.43 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
from os import path
import io
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
try:
import unittest.mock
has_mock = True
except ImportError:
has_mock = False
__author__ = 'ping <[email protected]>'
__version__ = '1.6.0'
packages = [
'instagram_private_api',
'instagram_private_api.endpoints',
'instagram_web_api'
]
test_reqs = [] if has_mock else ['mock']
with io.open(path.join(path.abspath(path.dirname(__file__)), 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='instagram_private_api',
version=__version__,
author='ping',
author_email='[email protected]',
license='MIT',
url='https://github.com/ping/instagram_private_api/tree/master',
install_requires=[],
test_requires=test_reqs,
keywords='instagram private api',
description='A client interface for the private Instagram API.',
long_description=long_description,
long_description_content_type='text/markdown',
packages=packages,
platforms=['any'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
]
)