-
-
Notifications
You must be signed in to change notification settings - Fork 69
/
setup.py
74 lines (68 loc) · 2.29 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
72
73
74
#!/usr/bin/env python
import io
import re
from setuptools import setup, find_packages
with io.open('./cricket/__init__.py', encoding='utf8') as version_file:
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file.read(), re.M)
if version_match:
version = version_match.group(1)
else:
raise RuntimeError("Unable to find version string.")
with io.open('README.rst', encoding='utf8') as readme:
long_description = readme.read()
setup(
name='cricket',
version=version,
description='A graphical tool to assist running test suites.',
long_description=long_description,
author='Russell Keith-Magee',
author_email='russell@keith-magee.com',
url='http://beeware.org/cricket',
packages=find_packages(exclude='tests'),
py_modules=['pytest_cricket'],
package_data={
'cricket': ['resources/*'],
},
include_package_data=True,
install_requires=[
'toga>=0.3.0.dev19',
],
tests_require=[
'django~=1.11',
'pytest>=3.6',
],
python_requires='>=3.5',
scripts=[],
entry_points={
'console_scripts': [
'cricket-django = cricket.django.__main__:run',
'cricket-unittest = cricket.unittest.__main__:run',
'cricket-pytest = cricket.pytest.__main__:run',
],
'pytest11': [
'cricket = cricket.pytest.pytest_cricket',
],
},
license='New BSD',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development',
'Topic :: Software Development :: Testing',
'Topic :: Utilities',
],
test_suite='tests',
project_urls={
'Funding': 'https://pybee.org/contributing/membership/',
'Documentation': 'http://cricket.readthedocs.io/en/latest/',
'Tracker': 'https://github.com/pybee/cricket/issues',
'Source': 'https://github.com/pybee/cricket',
},
)