Skip to content

Commit 6d97967

Browse files
committed
Add packaging
1 parent f2c92a9 commit 6d97967

2 files changed

Lines changed: 73 additions & 0 deletions

File tree

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Include the license file
2+
include LICENSE.txt

setup.py

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
"""A setuptools based setup module.
2+
3+
See:
4+
https://packaging.python.org/en/latest/distributing.html
5+
https://github.com/pypa/sampleproject
6+
"""
7+
8+
# Always prefer setuptools over distutils
9+
from setuptools import setup
10+
# To use a consistent encoding
11+
from codecs import open
12+
from os import path
13+
14+
here = path.abspath(path.dirname(__file__))
15+
16+
test_deps = ['mock', 'pytest', 'pytest-cov', 'pytest-xdist']
17+
18+
# Get the long description from the README file
19+
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
20+
long_description = f.read()
21+
22+
setup(
23+
name='cfn_resource',
24+
25+
version='0.2.1',
26+
27+
description='Wrapper decorators for building CloudFormation custom resources',
28+
long_description=long_description,
29+
url='https://github.com/ryansb/cfn-wrapper-python',
30+
author='Ryan Scott Brown',
31+
author_email='sb@ryansb.com',
32+
license='MIT',
33+
34+
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
35+
classifiers=[
36+
# How mature is this project? Common values are
37+
# 3 - Alpha
38+
# 4 - Beta
39+
# 5 - Production/Stable
40+
'Development Status :: 4 - Beta',
41+
42+
# Indicate who your project is intended for
43+
'Intended Audience :: Developers',
44+
45+
'License :: OSI Approved :: MIT License',
46+
'Programming Language :: Python :: 2',
47+
'Programming Language :: Python :: 2.7',
48+
],
49+
50+
# What does your project relate to?
51+
keywords='cloudformation aws cloud custom resource amazon',
52+
53+
py_modules=["cfn_resource"],
54+
55+
# List run-time dependencies here. These will be installed by pip when
56+
# your project is installed. For an analysis of "install_requires" vs pip's
57+
# requirements files see:
58+
# https://packaging.python.org/en/latest/requirements.html
59+
install_requires=[],
60+
61+
# List additional groups of dependencies here (e.g. development
62+
# dependencies). You can install these using the following syntax,
63+
# for example:
64+
# $ pip install -e .[dev,test]
65+
extras_require={
66+
'test': test_deps,
67+
},
68+
package_data={},
69+
data_files=[],
70+
entry_points={},
71+
)

0 commit comments

Comments
 (0)