summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-01-29 16:44:30 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2020-07-01 18:01:59 +0200
commit3d9c005fc39404fdb1d5a9762c95f376e64e0653 (patch)
tree608dcec7d25822ca25f864e682987503b94d2fc9 /setup.py
parent1b21f20e9d7874b79049eb45fcc54e07fcc86d8b (diff)
downloadIshtar-3d9c005fc39404fdb1d5a9762c95f376e64e0653.tar.bz2
Ishtar-3d9c005fc39404fdb1d5a9762c95f376e64e0653.zip
Tests with setup.py
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py12
1 files changed, 7 insertions, 5 deletions
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',