setup.py 1.79 KB
Newer Older
1
#! /usr/bin/env python
Frédéric Boyer committed
2 3 4 5
#
# Install script
#
#
6

7
import sys
Eric Coissac committed
8
import os
9
import os.path
10
import re
11 12 13 14
import glob

from os import path

15 16 17 18
#
# Add to the python path the directory containing the extensions
# of distutils
#
19

20

21
PACKAGE = "OBITools"
Eric Coissac committed
22
VERSION = "1.2.13"
23
AUTHOR  = 'Eric Coissac'
24
EMAIL   = 'eric@coissac.eu'
25
URL     = 'http://metabarcoding.org/obitools'
26 27
LICENSE = 'CeCILL-V2'

28
SRC       = 'src'
29 30 31
CSRC      = None

sys.path.append('distutils.ext')
32

33
if __name__=="__main__":
34

35
    from obidistutils.serenity import serenity_mode
36

37
    serenity=serenity_mode(PACKAGE,VERSION)
38

39 40 41 42
    from obidistutils.core import setup
    from obidistutils.core import CTOOLS
    from obidistutils.core import CEXES
    from obidistutils.core import FILES
43

44
    DEPRECATED_SCRIPTS=["fastaComplement", "fastaUniq","fasta2tab","fastaAnnotate",
45 46
                    "fastaSample","fastaGrep","fastaCount","fastaLength",
                    "fastaHead","fastaTail","fastaSplit","fastaStrand",
Eric Coissac committed
47
                    "fastaLocate","solexaPairEnd","ecoTag","obijoinpairedend"
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
                       ]

    setup(name=PACKAGE,
          description="Scripts and library for sequence analysis",
          classifiers=[
            'Development Status :: 5 - Production/Stable',
            'Environment :: Console',
            'Intended Audience :: Science/Research',
            'License :: Other/Proprietary License',
            'Operating System :: Unix',
            'Programming Language :: Python',
            'Programming Language :: Python :: 2',
            'Topic :: Scientific/Engineering :: Bio-Informatics',
            'Topic :: Utilities',
          ],
          version=VERSION,
          author=AUTHOR,
          author_email=EMAIL,
          license=LICENSE,
          url=URL,
          python_src=SRC,
69 70
          sse='sse2',
          serenity=serenity)