From bf1c517302ca129f1a024cdd8599e4a550537a58 Mon Sep 17 00:00:00 2001 From: "Brandon T. Willard" Date: Sun, 2 Sep 2018 23:13:03 -0500 Subject: [PATCH] Update version requirements and setuptools testing Unfortunately, commands like `nosetests` and `python setup.py test` won't work -- at least without cached bytecode present for this and its dependencies -- until Hy's import mechanics are fixed. Testing with hylang/hy#1672 confirms that, under these changes, both test commands should successfully complete all tests from within a fresh virtualenv on the first attempt. --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ed5f011..a71c182 100755 --- a/setup.py +++ b/setup.py @@ -20,13 +20,15 @@ setup( name="adderall", version="2.0.0", - install_requires=['hy>=0.10', 'monaxhyd>=0.1.0'], + install_requires=['hy>=0.15', 'monaxhyd>=0.2.1'], packages=find_packages(exclude=['tests', 'tests.extra', 'tests.schemer']), package_data={ 'adderall': ['*.hy'], 'adderall.extra': ['*.hy'], 'adderall.extra.cheezburger': ['*.hy'], }, + test_suite='nose.collector', + tests_require=['nose'], author="Gergely Nagy", author_email="algernon@madhouse-project.org", long_description="""a miniKanren implementation in Hy.""",