setup.py 2.29 KB
Newer Older
Hoogenboom, Jerry's avatar
Hoogenboom, Jerry committed
1
#!/usr/bin/env python
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#
# Copyright (C) 2016 Jerry Hoogenboom
#
# This file is part of FDSTools, data analysis tools for Next
# Generation Sequencing of forensic DNA markers.
#
# FDSTools is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation, either version 3 of the License, or (at
# your option) any later version.
#
# FDSTools is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with FDSTools.  If not, see <http://www.gnu.org/licenses/>.
#

jhoogenboom's avatar
jhoogenboom committed
23
24
from setuptools import setup, find_packages

jhoogenboom's avatar
jhoogenboom committed
25
requires = ["numpy"]
jhoogenboom's avatar
jhoogenboom committed
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

# Python 2.6 does not include the argparse module.
try:
    import argparse
except ImportError:
    requires.append("argparse")


# Disabling hard linking as a workaround for this bug:
# http://bugs.python.org/issue8876
from sys import hexversion as sys_hexversion
if sys_hexversion < 0x020709C1:  # The bug is fixed in 2.7.9rc1.
    import os
    del os.link


import fdstools as distmeta
x = setup(
    name="fdstools",
    packages=find_packages(),
jhoogenboom's avatar
jhoogenboom committed
46
    package_data={
Hoogenboom, Jerry's avatar
Hoogenboom, Jerry committed
47
        "fdstools": ["vis/*.*", "vis/*/*"]
jhoogenboom's avatar
jhoogenboom committed
48
    },
jhoogenboom's avatar
jhoogenboom committed
49
50
51
52
53
54
    version=distmeta.__version__,
    install_requires=requires,
    description="Forensic DNA Sequencing Tools",
    long_description=distmeta.__doc__,
    author="Jerry Hoogenboom",
    author_email="jerryhoogenboom@outlook.com",
55
    url="https://git.lumc.nl/jerryhoogenboom/fdstools/blob/master/README.rst",
56
    license="GPLv3+",
jhoogenboom's avatar
jhoogenboom committed
57
58
    platforms=["any"],
    classifiers=[
59
        "Development Status :: 4 - Beta",
jhoogenboom's avatar
jhoogenboom committed
60
61
        "Intended Audience :: Science/Research",
        "Intended Audience :: Legal Industry",
62
63
        "License :: OSI Approved :: GNU General Public License v3 or "
            "later (GPLv3+)",
jhoogenboom's avatar
jhoogenboom committed
64
65
66
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 2",
        "Topic :: Scientific/Engineering :: Bio-Informatics"],
67
    keywords='bioinformatics forensics stutter NGS MPS DNA sequencing STR',
jhoogenboom's avatar
jhoogenboom committed
68
69
70
71
72
    entry_points={
        'console_scripts': [
            "fdstools=fdstools.fdstools:main"
        ]
    }
Hoogenboom, Jerry's avatar
Hoogenboom, Jerry committed
73
)