-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (49 loc) · 1.66 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# -*- coding: utf-8 -*-
# Copyright (c) 2017 by Alberto Vara <[email protected]>
import codecs
import os
from setuptools import setup, find_packages
version = __import__('ardy').__version__
author = __import__('ardy').__author__
author_email = __import__('ardy').__email__
if os.path.exists('README.rst'):
long_description = codecs.open('README.rst', 'r', 'utf-8').read()
else:
long_description = 'See https://github.com/avara1986/ardy'
# parse_requirements() returns generator of pip.req.InstallRequirement objects
with open('requirements.txt') as f:
required = [lib for lib in f.read().splitlines() if not lib.startswith("-e")]
setup(
name="Ardy",
version=version,
author=author,
author_email=author_email,
description="AWS Lambda toolkit",
long_description=long_description,
classifiers=[
'Development Status :: 6 - Mature',
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.6"
],
license="MIT",
platforms=["any"],
keywords="python, aws, lambda",
url='https://github.com/avara1986/ardy.git',
test_suite='nose.collector',
packages=find_packages(),
entry_points={
'console_scripts': [
'ardy = ardy.core.cmd.main:Command'
]
},
install_requires=required,
zip_safe=True,
)