summaryrefslogtreecommitdiff
path: root/setup.py
blob: 8f84ebf6a5ee202839329b5e043a20fba94f0960 (plain)
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
# -*- coding: utf-8 -*-
import os
import sys

try:
    from setuptools import setup
    # hush pyflakes
    setup
except ImportError:
    from distutils.core import setup

if sys.argv[-1] == 'publish':
    os.system('python setup.py sdist upload')
    sys.exit()

setup(
    name='requests-aws',
    version='0.1.8',
    author='Paul Tax',
    author_email='paultax@gmail.com',
    include_package_data=True,
    install_requires=['requests>=0.14.0'],
    py_modules=['awsauth'],
    url='https://github.com/tax/python-requests-aws',
    license='BSD licence, see LICENCE.txt',
    description='AWS authentication for Amazon S3 for the python requests module',
    long_description=open('README.md').read(),
)