forked from python-needle/needle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
67 lines (59 loc) · 2.15 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 setuptools import setup, find_packages
import sys
import os
import codecs
from needle import __version__
# Borrowed from
# https://github.com/jezdez/django_compressor/blob/develop/setup.py
def read(*parts):
return codecs.open(os.path.join(os.path.dirname(__file__), *parts)).read()
install_requires = [
'nose>=1.0.0',
'selenium>=2,<4',
'pillow',
]
if sys.version_info < (2, 7, 0):
# Install backport of unittest2 only if needed.
install_requires.append('unittest2>=0.5.1')
setup(
name='needle',
version=__version__,
description='Automated testing for your CSS.',
author='Ben Firshman',
author_email='[email protected]',
url='https://github.com/python-needle/needle',
packages=find_packages(exclude=['scripts', 'tests']),
package_data={'needle': ['js/*']},
test_suite='nose.collector',
entry_points = {
'nose.plugins.0.10': [
'needle-capture = needle.plugin:NeedleCapturePlugin',
'save-baseline = needle.plugin:SaveBaselinePlugin',
'needle-cleanup-on-success = needle.plugin:CleanUpOnSuccessPlugin',
]
},
install_requires=install_requires,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Browsers',
'Topic :: Multimedia :: Graphics :: Capture :: Screen Capture',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Testing',
],
)