-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·40 lines (34 loc) · 1.05 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
"""Setuptools entry point."""
import os
from setuptools import setup, find_packages
import codecs
from lambdautils import __version__, __author__
DESCRIPTION = "Utilities for AWS Lambda functions"""
dirname = os.path.dirname(__file__)
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError, RuntimeError):
if os.path.isfile("README.md"):
long_description = codecs.open(os.path.join(dirname, "README.md"),
encoding="utf-8").read()
else:
long_description = DESCRIPTION
setup(
name="lambdautils",
version=__version__,
author=__author__,
author_email="[email protected]",
url="https://github.com/humilis/humilis-lambdautils",
license="MIT",
description=DESCRIPTION,
long_description=long_description,
packages=find_packages(include=["lambdautils"]),
install_requires=[
"raven",
"six",
"retrying"],
classifiers=[
"Programming Language :: Python :: 2.7"],
zip_safe=False
)