From fdce896e5ef880f00b5d493b41920cc3e1d4a74f Mon Sep 17 00:00:00 2001 From: Jason Robinson Date: Sat, 13 May 2017 22:35:00 +0300 Subject: [PATCH] Remote pytest and sphinc from install requires Including these install a lot of dependencies which are not needed for actually using the library. Put them in extras instead so they can easily be installed in a development environment. --- README.org | 5 +++++ setup.py | 15 +++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/README.org b/README.org index 9782a54..f24b2ac 100644 --- a/README.org +++ b/README.org @@ -11,3 +11,8 @@ It also, hopefully soon, will serve as an ActivityStreams validator. More things will go here in the future, in the meanwhile maybe see [[file:./activipy.org][activipy.org]] in this directory for braindumps and tasks. +## Development + +Install all the dependencies as follows: + + pip install -e .[dev] diff --git a/setup.py b/setup.py index 8a2a1ef..0aa195a 100644 --- a/setup.py +++ b/setup.py @@ -27,14 +27,13 @@ include_package_data=True, install_requires=[ "PyLD", - "pytest", - "sphinx", - ], - # @@: Can we reproduce this in Guix? - entry_points="""\ - [console_scripts] - activipy_tester = activipy.testcli:main - """, + ], + extras_require={ + "dev": [ + "pytest", + "sphinx", + ] + }, license="Apache v2", author="Christopher Allan Webber", author_email="cwebber@dustycloud.org",