Commit 013903d3 authored by Laros's avatar Laros
Browse files

Added boilerplate code for packaging.

parent 00e5c916
Copyright (c) 2013 Leiden University Medical Center <humgen@lumc.nl>
Copyright (c) 2013 Jeroen F.J. Laros <j.f.j.laros@lumc.nl>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
"""
extractor: Extract a list of differences between two sequences.
Copyright (c) 2013 Leiden University Medical Center <humgen@lumc.nl>
Copyright (c) 2013 Jonathan K. Vis <jvis@liacs.nl>
Licensed under the MIT license, see the LICENSE file.
"""
# On the event of a new release, we update the __version_info__ package
# global and set RELEASE to True.
# Before a release, a development version is denoted by a __version_info__
# ending with a 'dev' item and RELEASE is set to False.
#
# We follow a versioning scheme compatible with setuptools [1] where the
# __version_info__ variable always contains the version of the upcomming
# release (and not that of the previous release), post-fixed with a 'dev'
# item. Only in a release commit, this 'dev' item is removed (and added
# again in the next commit).
#
# [1] http://peak.telecommunity.com/DevCenter/setuptools#specifying-your-project-s-version
RELEASE = False
__version_info__ = ('0', '1', 'dev')
__version__ = '.'.join(__version_info__)
__author__ = 'LUMC, Jonathan K. Vis'
__contact__ = 'jvis@liacs.nl'
__homepage__ = 'https://humgenprojects.lumc.nl/trac/extractor'
usage = __doc__.split("\n\n\n")
def docSplit(func):
return func.__doc__.split("\n\n")[0]
def version(name):
return "%s version %s\n\nAuthor : %s <%s>\nHomepage : %s" % (name,
__version__, __author__, __contact__, __homepage__)
import sys
from setuptools import setup
if sys.version_info < (2, 6):
raise Exception('extractor requires Python 2.6 or higher.')
# Todo: How does this play with pip freeze requirement files?
requires = []
# Python 2.6 does not include the argparse module.
try:
import argparse
except ImportError:
requires.append('argparse')
import extractor as distmeta
setup(
name='extractor',
version=distmeta.__version__,
description='FASTA/FASTQ analysis and manipulation toolkit.',
long_description=distmeta.__doc__,
author=distmeta.__author__,
author_email=distmeta.__contact__,
url=distmeta.__homepage__,
license='MIT License',
platforms=['any'],
packages=['extractor'],
install_requires=requires,
entry_points = {
'console_scripts': [
]
},
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: C++',
'Topic :: Scientific/Engineering',
],
keywords='bioinformatics'
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment