| 1 |
|
| 2 |
import os |
| 3 |
import sys |
| 4 |
|
| 5 |
try: |
| 6 |
from setuptools import setup |
| 7 |
|
| 8 |
setup |
| 9 |
except ImportError: |
| 10 |
from distutils.core import setup |
| 11 |
|
| 12 |
if sys.argv[-1] == 'publish': |
| 13 |
os.system('python setup.py sdist upload') |
| 14 |
sys.exit() |
| 15 |
|
| 16 |
setup( |
| 17 |
name='requests-aws', |
| 18 |
version='0.1.5', |
| 19 |
author='Paul Tax', |
| 20 |
author_email='[email protected]', |
| 21 |
include_package_data=True, |
| 22 |
install_requires = ['requests>=0.14.0'], |
| 23 |
py_modules=['awsauth'], |
| 24 |
url='https://github.com/tax/python-requests-aws', |
| 25 |
license='BSD licence, see LICENCE.txt', |
| 26 |
description='AWS authentication for Amazon S3 for the python requests module', |
| 27 |
long_description=open('README.md').read(), |
| 28 |
) |
| 29 |
|