summaryrefslogtreecommitdiff
path: root/setup.py
blob: a1422cd8777d43dffb767be1e29495ef868761f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# -*- coding: utf-8 -*-
import os
from setuptools import setup  # , find_packages
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 = ''

setup(
    name='ishtar',
    version=version.get_version(),
    description="Ishtar is a database to manage the finds and "
                "documentation from archaeological operations.",
    long_description=open('README.rst').read(),
    author=u'Étienne Loks',
    author_email='etienne.loks@iggdrasil.net',
    url='https://ishtar-archeo.net/',
    license='AGPL v3 licence, see COPYING',
    packages=[
        'archaeological_finds', 'example_project',
        'archaeological_warehouse', 'archaeological_files_pdl',
        'archaeological_files', 'ishtar_common',
        'archaeological_operations', 'archaeological_context_records'],
    include_package_data=True,
    install_requires=reqs,
    test_suite="example_project.runtests.runtests",
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Programming Language :: Python',
        'Operating System :: OS Independent',
    ]
)