This repository was archived by the owner on Feb 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (43 loc) · 1.37 KB
/
setup.py
File metadata and controls
50 lines (43 loc) · 1.37 KB
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
# -*- coding: utf-8 -*-
#
# © 2013, 2014, 2015 Krux Digital, Inc.
#
from setuptools import setup, find_packages
# We use the version to construct the DOWNLOAD_URL.
VERSION = '0.5.2'
# URL to the repository on Github.
REPO_URL = 'https://github.com/krux/python-s3proxy'
# Github will generate a tarball as long as you tag your releases, so don't
# forget to tag!
DOWNLOAD_URL = ''.join((REPO_URL, '/tarball/release/', VERSION))
setup(
name='s3proxy',
version=VERSION,
author='Justin Patrin',
author_email='jpatrin@krux.com',
maintainer='Justin Patrin',
maintainer_email='jpatrin@krux.com',
description='HTTP Proxy for S3 buckets',
long_description="""
Exposes an HTTP endpoint for a given S3 bucket and prefix.
Supports exposing private S3 keys through an IAM key/secret.
Transparently serves index.html for URLs ending in / and will
generate an index when no index.html is found.
Originally meant as a way to serve a private pypi repository
on an S3 bucket.
""",
url=REPO_URL,
download_url=DOWNLOAD_URL,
license='License :: OSI Approved :: MIT License',
packages=find_packages(),
install_requires=[
'boto',
'Flask',
],
entry_points={'console_scripts': ['s3proxy = s3proxy:main']},
#tests_require=[
# 'coverage',
# 'mock',
# 'nose',
#]
)