-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
66 lines (54 loc) · 1.75 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
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function, unicode_literals
import os
from setuptools import find_packages, setup
from skipnose import __author__, __version__
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname), 'rb') as fid:
return fid.read().decode('utf-8')
authors = read('AUTHORS.rst')
history = read('HISTORY.rst').replace('.. :changelog:', '')
licence = read('LICENSE.rst')
readme = read('README.rst')
requirements = read('requirements.txt').splitlines() + [
'setuptools',
]
test_requirements = (
read('requirements.txt').splitlines() +
read('requirements-dev.txt').splitlines()[1:]
)
setup(
name='skipnose',
version=__version__,
author=__author__,
description='Nose plugin which allows to include/exclude directories '
'for testing by their glob pattern.',
long_description='\n\n'.join([readme, history, authors, licence]),
url='https://github.com/Dealertrack/skipnose',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=requirements,
test_suite='tests',
tests_require=test_requirements,
entry_points={
'nose.plugins.0.10': [
'NOSETESTS_SKIPNOSE = skipnose:SkipNose'
]
},
keywords=' '.join([
'skipnose',
'test',
'nosetests',
'nose',
'nosetest',
]),
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
],
)