-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (44 loc) · 1.53 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
52
53
54
__author__ = 'maroun'
import os
import io
import nose_docstring_modifier.nose_docstring_modifier
from setuptools import setup, find_packages
ROOT = os.path.abspath(os.path.dirname(__file__))
requires = [
'nose',
]
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
long_description = read('README.rst', 'CHANGES.txt')
setup(name='nose-docstring-modifier',
version=nose_docstring_modifier.__version__,
description='Enables you to modify docstring of tests based on '
'their attributes',
long_description=long_description,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Testing",
"License :: OSI Approved :: Apache Software License",
],
author='Maroun Maroun',
author_email='[email protected]',
url='https://github.com/taykey/nose-docstring-modifier',
packages=find_packages(),
keywords='nosetest docstring',
include_package_data=True,
zip_safe=False,
entry_points={
'nose.plugins.0.10': [
'nose_docstring_modifier = nose_docstring_modifier:DocstringModifier'
]
},
install_requires=requires)