Ejemplo n.º 1
0

name = "jcvi"
classifiers = [
    'Development Status :: 4 - Beta',
    'Intended Audience :: Science/Research',
    'License :: OSI Approved :: BSD License',
    'Programming Language :: Python',
    'Programming Language :: Python :: 2',
    'Topic :: Scientific/Engineering :: Bio-Informatics',
]

# Use the helper
h = SetupHelper(initfile="__init__.py", readmefile="README.md")
h.check_version(name, majorv=2, minorv=7)
h.install_requirements(requires=["cython", "numpy"])

# Now these are available
import numpy as np
from Cython.Distutils import build_ext

# Start the show
ext_modules = [
    Extension("jcvi.assembly.chic", ["assembly/chic.pyx"],
                     include_dirs=[np.get_include()],
                     extra_compile_args=["-O3"]),
    Extension("jcvi.formats.cblast", ["formats/cblast.pyx"],
                     extra_compile_args=["-O3"])
]

setup(
Ejemplo n.º 2
0
    'Development Status :: 4 - Beta',
    'Intended Audience :: Science/Research',
    'License :: OSI Approved :: BSD License',
    'Programming Language :: Python',
    'Programming Language :: Python :: 2',
    'Topic :: Scientific/Engineering :: Bio-Informatics',
]

# Use the helper
h = SetupHelper(initfile="jcvi/__init__.py", readmefile="README.md")
h.check_version(name, majorv=2, minorv=7)
setup_dir = op.abspath(op.dirname(__file__))
requirements = [
    x.strip() for x in open(op.join(setup_dir, 'requirements.txt'))
]
h.install_requirements(requires=["cython", "numpy"])

# Now these are available

# Start the show
ext_modules = [
    Extension("jcvi.assembly.chic", ["jcvi/assembly/chic.pyx"],
              include_dirs=[np.get_include()],
              extra_compile_args=["-O3"]),
    Extension("jcvi.formats.cblast", ["jcvi/formats/cblast.pyx"],
              extra_compile_args=["-O3"])
]

setup(
    name=name,
    author=h.author,
Ejemplo n.º 3
0
from setup_helper import SetupHelper

name = "bioway"
classifiers = [
    'Development Status :: 0 - Beta',
    'Intended Audience :: Science/Research',
    'License :: WYB License',
    'Programming Language :: Python',
    'Programming Language :: Python :: 2',
    'Topic :: Bio-Informatics',
]

# Use the helper
h = SetupHelper(initfile="__init__.py", readmefile="README.md")
h.check_version(name, majorv=2, minorv=7)
h.install_requirements(requires=[])

setup(
    name=name,
    author=h.author,
    author_email=h.email,
    version=h.version,
    license=h.license,
    long_description=h.long_description,
    package_dir={name: '.'},
    packages=[name] + ['.'.join((name, x)) for x in find_packages()],
    include_package_data=True,
    package_data={"bioway.utils.data": ["*.*"]},
    classifiers=classifiers,
    zip_safe=False,
    url='http://github.come/wangyibin/bioway',