Skip to content

Commit f0118c7

Browse files
committed
Don't require test deps for install
* closes #8
1 parent 5cd38e9 commit f0118c7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

setup.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,16 @@
4141

4242
install_requires = [
4343
'pyyaml>=6.0,<7.0',
44-
'autosemver==0.5.5',
45-
'isort<5.0.0',
4644
'six',
4745
]
4846

4947
setup_requires = [
5048
'autosemver==0.5.5',
5149
]
5250

51+
extras_require = {
52+
'tests': tests_require,
53+
}
5354

5455
setup(
5556
name='jsonschema2rst',
@@ -59,7 +60,7 @@
5960
license='GPLv2',
6061
keywords='jsonschema yaml rst parser documentation',
6162
packages=find_packages(),
62-
install_requires=install_requires + tests_require,
63+
install_requires=install_requires,
6364
tests_require=tests_require,
6465
setup_requires=setup_requires,
6566
long_description=readme,

tests/unit/test_rst_util.py

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
unicode_literals)
2727

2828
import pytest
29-
3029
from jsonschema2rst.rst_utils import (bold, bullet, container, emphasize,
3130
explicit_link, kv_field, line, literal,
3231
make_title)

0 commit comments

Comments
 (0)