forked from jasmine/jasmine-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
71 lines (64 loc) · 2.39 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
67
68
69
70
71
from setuptools import setup, find_packages
import sys
old_python = sys.version_info[0] == 2 and sys.version_info[1] < 7
cherrypy_version = '10.2.2' if old_python else '11'
def extra_dependencies():
if old_python:
return ['portend<2.1']
else:
return []
setup(
name="jasmine",
version="2.8.0.5",
url="http://jasmine.github.io",
author="Pivotal Labs",
author_email="[email protected]",
description=('Jasmine is a Behavior Driven Development'
' testing framework for JavaScript.'
' It does not rely on browsers, DOM,'
' or any JavaScript framework.'
' Thus it\'s suited for websites, '
'Node.js (http://nodejs.org) projects,'
' or anywhere that JavaScript can run.'),
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
],
packages=find_packages(),
package_data={'jasmine.templates': ['*.html']},
include_package_data=True,
entry_points={
'console_scripts': [
'jasmine = jasmine.entry_points:standalone',
'jasmine-ci = jasmine.entry_points:continuous_integration',
'jasmine-install = jasmine.entry_points:install'
]
},
install_requires=[
'PyYAML==3.10',
'argparse>=1.0, <2.0',
'Jinja2>=2.0, <3.0',
'six>=1.0, <2.0',
'jasmine-core>=2.8, <3.0',
'CherryPy>=%s' % cherrypy_version,
'selenium>=3.0'
] + extra_dependencies(),
)