From 3d9c005fc39404fdb1d5a9762c95f376e64e0653 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 29 Jan 2020 16:44:30 +0100 Subject: Tests with setup.py --- setup.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 46a8df3ab..a1422cd87 100644 --- a/setup.py +++ b/setup.py @@ -6,6 +6,9 @@ import version try: reqs = open(os.path.join(os.path.dirname(__file__), 'requirements.txt')).read() + reqs = "\n".join( + [r for r in reqs.split("\n") if r and not r.startswith('-e')] + ) except (IOError, OSError): reqs = '' @@ -17,17 +20,16 @@ setup( long_description=open('README.rst').read(), author=u'Étienne Loks', author_email='etienne.loks@iggdrasil.net', - url='http://ishtar-archeo.net/', + url='https://ishtar-archeo.net/', license='AGPL v3 licence, see COPYING', packages=[ 'archaeological_finds', 'example_project', 'archaeological_warehouse', 'archaeological_files_pdl', - 'archaeological_files', 'simple_history', 'ishtar_common', - 'archaeological_operations', 'archaeological_context_records', - 'ishtar_pdl'], + 'archaeological_files', 'ishtar_common', + 'archaeological_operations', 'archaeological_context_records'], include_package_data=True, install_requires=reqs, - # test_suite = "", + test_suite="example_project.runtests.runtests", classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', -- cgit v1.2.3