-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (40 loc) · 1.51 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
from setuptools import setup, find_packages
def read(*filenames, **kwargs):
import io
from os.path import join, dirname
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(join(dirname(__file__), filename), encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
setup(
name='os-tornado',
version=read('src/os_tornado/VERSION'),
packages=find_packages(where='src'),
package_dir={'': 'src'},
include_package_data=True,
license='MIT License',
description='A framework to simplify tornado daemon development.',
long_description=open('README.rst').read(),
author='Ozzy',
author_email='cfhamlet@gmail.com',
url='https://github.com/cfhamlet/os-tornado',
install_requires=open('requirements.txt').read().split('\n'),
zip_safe=False,
entry_points={
'console_scripts': ['os-tornado = os_tornado.cmdline:execute']
},
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
])