Skip to content

Commit

Permalink
Prepared for PyPI release
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Dahlgren committed Jan 27, 2014
1 parent a07ef4e commit 58c8b28
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
recursive-include automated_ebs_snapshots *
include automated-ebs-snapshots
include README
include LICENSE

6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
install:
python setup.py build
python setup.py install
release:
python setup.py register
python setup.py sdist upload
1 change: 1 addition & 0 deletions README
2 changes: 2 additions & 0 deletions automated_ebs_snapshots/settings.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[general]
version: 0.1.0-SNAPSHOT
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
boto>=2.23.0
32 changes: 32 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
""" Setup script for PyPI """
import os
from setuptools import setup
from ConfigParser import SafeConfigParser

settings = SafeConfigParser()
settings.read(os.path.realpath('automated_ebs_snapshots/settings.conf'))


setup(
name='automated-ebs-snapshots',
version=settings.get('general', 'version'),
license='Apache License, Version 2.0',
description='Automatic provisioning for AWS DynamoDB tables',
author='Sebastian Dahlgren',
author_email='sebastian.dahlgren@gmail.com',
url='http://sebdah.github.com/dynamic-dynamodb/',
keywords="dynamodb aws provisioning amazon web services",
platforms=['Any'],
packages=['automated_ebs_snapshots'],
scripts=['automated-ebs-snapshots'],
include_package_data=True,
zip_safe=False,
install_requires=['boto >= 2.23.0'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python'
]
)

0 comments on commit 58c8b28

Please sign in to comment.