Skip to content

Commit

Permalink
setup.py for PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitri committed Apr 18, 2018
1 parent 67793f0 commit 09b4ee4
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -5,3 +5,5 @@ config/**
venv
*.pyc
__pycache__/**
/*.egg-info
/dist/
1 change: 1 addition & 0 deletions requirements.txt
Expand Up @@ -3,3 +3,4 @@ boto3
botocore
pyyaml
pytest
mock
8 changes: 8 additions & 0 deletions setup.cfg
@@ -0,0 +1,8 @@
[metadata]
description-file = README.md

[aliases]
test=pytest

[tool:pytest]
# addopts = -s
34 changes: 34 additions & 0 deletions setup.py
@@ -0,0 +1,34 @@
from setuptools import setup
from codecs import open
from os import path

here = path.abspath(path.dirname(__file__))

with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

setup(
name='greengo',
version='0.1.4',
description='AWS Greengrass file-based setup tool',
long_description=long_description,
long_description_content_type='text/markdown',
keywords=['AWS', 'IoT', 'Greengrass', 'Lambda'],
url='http://github.com/dzimine/greengo',
author='Dmitri Zimine',
author_email='dz_removethis@stackstorm.com',
license='MIT',
packages=['greengo'],
install_requires=[
'fire',
'boto3',
'botocore',
'pyyaml'
],
setup_requires=['pytest-runner'],
tests_require=['pytest', 'mock'],
entry_points={
'console_scripts': ['greengo=greengo.greengo:main'],
},
zip_safe=False
)

0 comments on commit 09b4ee4

Please sign in to comment.