setup.py 1.67 KB
Newer Older
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 45 46 47 48 49 50
#!/usr/bin/env python

import sys

PACKAGE     = "OBITools3"
VERSION     = "0.0.0"
AUTHOR      = 'Eric Coissac'
EMAIL       = 'eric@coissac.eu'
URL         = 'metabarcoding.org/obitools3'
LICENSE     = 'CeCILL-V2'
DESCRIPTION ="Scripts and library for DNA metabarcoding",

SRC       = 'python'
CSRC      = 'src'

classifiers=['Development Status :: 1 - Planning',
             'Environment :: Console',
             'Intended Audience :: Science/Research',
             'License :: Other/Proprietary License',
             'Operating System :: Unix',
             'Programming Language :: Python',
             'Programming Language :: Python :: 3',
             'Topic :: Scientific/Engineering :: Bio-Informatics',
             'Topic :: Utilities',
             ]


PYTHONMIN='3.4'


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

if __name__=="__main__":
    
    try:
        from obitools3 import version
        VERSION     = version.version
    except ImportError:
        pass

    from obidistutils.serenity import serenity_mode
    
    serenity=serenity_mode(PACKAGE,VERSION)

    from obidistutils.core import setup
    from obidistutils.core import CTOOLS
    from obidistutils.core import CEXES
    from obidistutils.core import FILES
    
51 52 53 54 55
    # Produce annotated html files
    import Cython.Compiler.Options
    Cython.Compiler.Options.annotate = True

    
56 57 58 59 60 61 62 63 64 65 66 67 68
    setup(name=PACKAGE,
          description=DESCRIPTION,
          classifiers=classifiers,
          version=VERSION,
          author=AUTHOR,
          author_email=EMAIL,
          license=LICENSE,
          url=URL,
          python_src=SRC,
          sse='sse2',
          serenity=serenity,
          pythonmin=PYTHONMIN)