-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (22 loc) · 813 Bytes
/
setup.py
File metadata and controls
26 lines (22 loc) · 813 Bytes
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
from setuptools import setup, find_packages
def parse_requirements(filename):
""" load requirements from a pip requirements file """
lineiter = (line.strip() for line in open(filename))
return [line for line in lineiter if line and not line.startswith("#")]
setup(
name='s3reqs',
description='Uploads zip file to S3 of requirements for Python AWS Lambda '
'apps to get around 50MB limit.',
url='https://github.com/metametricsinc/s3reqs',
author='Brian Jinwright',
license='GNU GPL v3',
keywords='requirements, lambda',
install_requires=parse_requirements('requirements.txt'),
packages=find_packages(),
include_package_data=True,
version='0.1.0a',
entry_points='''
[console_scripts]
s3reqs=s3reqs.cli:s3reqs
''',
)