Skip to content
Snippets Groups Projects
Select Git revision
  • 36306d05cfe3b3148a265c29a0dc897781baa82f
  • master default protected
2 results

setup.py

Blame
  • user avatar
    Blaise Li authored
    Also removed some debugging output that was written in a unique file in
    /tmp, which prevented the small RNA annotation to be performed by a new
    user without erasing this file.
    c76f9e07
    History
    setup.py 925 B
    from setuptools import setup, find_packages
    import os
    # OPJ = os.path.join
    # OPA = os.path.abspath
    # OPB = os.path.basename
    from glob import glob
    #from Cython.Build import cythonize
    
    #import libworkflows
    # Adapted from Biopython
    __version__ = "Undefined"
    for line in open('smincludes/__init__.py'):
        if (line.startswith('__version__')):
            exec(line.strip())
    
    # _rule_files = [OPA(rule_file) for rule_file in glob(OPJ("smincludes", "*.rules"))]
    # print(_rule_files)
    
    setup(
        name="smincludes",
        #version=libworkflows.__version__,
        version=__version__,
        description="Rules that can be included in snakemake workflows.",
        author="Blaise Li",
        author_email="blaise.li@normalesup.org",
        license="MIT",
        packages=find_packages(),
        package_data={"smincludes": ["*.rules"]},
        )
        #ext_modules = cythonize("libsmallrna/libsmallrna.pyx"),
        #install_requires=["cytoolz"],
        #zip_safe=False