-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrequirements.txt
40 lines (26 loc) · 1.56 KB
/
requirements.txt
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
six >= 1.10.0 # python2/python3 compatibility
memoized # remember functions results
svgwrite # generate SVG solutions
# ==================== pynogram-web =================== #
futures; python_version < '3.2'
# https://github.com/tornadoweb/tornado/issues/2304
tornado < 5.0 # supports long-polling
# =============== optional dependencies =============== #
# numpy's `__copy__` does not work on PyPy, so simply skip it
numpy; platform_python_implementation != 'PyPy' # fast matrix operations
# or you can install numpy for PyPy like this
# git+https://bitbucket.org/pypy/numpy.git; platform_python_implementation == 'PyPy'
# ======================= tests ======================= #
# it's possible to run tests with simply `setup.py test`
# without cluttering your current virtualenv
# but sometimes it may be convenient to run them another way:
# a) manual invocation
tox # task management
coverage
flake8 # style checker (PEP8)
# pylint cannot be installed on PyPy3
# because of 'typed-ast' dependency (through 'astroid' dependency)
# https://github.com/PyCQA/astroid/blob/5cc50abb/astroid/__pkginfo__.py#L33
pylint ; platform_python_implementation != 'PyPy' or python_version < '3'
# b) via PyCharm's 'Run Configuration'
pytest >= 3.3 # unit test framework