Make setup.py ready for release on PyPI

This commit is contained in:
Yury Selivanov 2014-01-14 11:40:40 -05:00
parent 0c80f1fca6
commit e9333a807d
3 changed files with 15 additions and 2 deletions

3
.gitignore vendored
View File

@ -4,3 +4,6 @@
.DS_Store
/build
__pycache__/
MANIFEST
dist/
greenio.egg-info/

1
MANIFEST.in Normal file
View File

@ -0,0 +1 @@
include MANIFEST.in LICENSE README

View File

@ -1,9 +1,18 @@
from distutils.core import setup
from setuptools import setup
extra = {}
f = open('README', 'r')
try:
extra['long_description'] = f.read()
finally:
f.close()
setup(
name='greenio',
description="Greenlet based implementation of PEP 3156 event loop.",
version='0.5.0',
description="Greenlets for asyncio (PEP 3156).",
url='https://github.com/1st1/greenio/',
license='Apache 2.0',
packages=['greenio'],