summaryrefslogtreecommitdiff
path: root/setup.py
blob: 8ed01c6f05f8bea1fbb51720687c72e56739acb0 (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
42
43
44
# -*- coding: utf-8 -*-
import os
from setuptools import setup  # , find_packages
from ishtar_common 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='Étienne Loks',
    author_email='etienne.loks@iggdrasil.net',
    url='https://ishtar-archeo.net/',
    license='AGPL v3 licence, see COPYING',
    packages=[
        'bootstrap_datepicker',
        'ooopy',
        'overload_translation',
        'archaeological_finds',
        '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',
    ]
)