forked from rep/evnet
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
33 lines (26 loc) · 1007 Bytes
/
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
import distribute_setup
distribute_setup.use_setuptools()
from setuptools import setup
import sys, os
def read_file(name):
return open(os.path.join(os.path.dirname(__file__),name)).read()
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
try: readme = read_file('README.md')
except: readme = 'evnet'
setup(
name='evnet',
version = '1.0-5',
description='evnet is a networking library built on top of pyev (libev)',
long_description=readme,
classifiers=['Development Status :: 4 - Beta','License :: OSI Approved :: MIT License','Programming Language :: Python','Topic :: Software Development :: Libraries :: Python Modules'], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
author='Mark Schloesser',
author_email='[email protected]',
license = "MIT/BSD/GPL",
keywords = "evnet pyev network asynchronous nonblocking event",
url = "https://github.com/rep/evnet",
install_requires = ['pyev>=0.5.3-3.8', 'pyopenssl'],
packages = ['evnet',],
**extra
)