-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
51 lines (43 loc) · 1.21 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
45
46
47
48
49
50
51
from setuptools import setup
import sys
version = '1.0'
install_requires = [
'setuptools',
'zc.buildout',
]
tests_require = [
]
extra = {}
def get_text_from_file(fn):
text = open(fn, 'rb').read()
if sys.version_info >= (2, 6):
return text.decode('utf-8')
return text
setup(name='mr.cython',
version=version,
description="A zc.buildout extension to befriend mr.developer"
" and Cython.",
long_description=get_text_from_file("README.rst") + "\n\n",
classifiers=[
"Programming Language :: Python",
"Framework :: Buildout",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='',
author='Alexander V. Nikolaev',
author_email='[email protected]',
url='http://github.com/sendgridlabs/mr.cython',
license='BSD',
packages=['mr', 'mr.cython'],
namespace_packages=['mr'],
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
tests_require=tests_require,
extras_require={'test': tests_require},
entry_points="""
[zc.buildout.extension]
default = mr.cython:extension
""",
**extra
)