https://github.com/fenderglass/Ragout
Revision fc81a29481aeb6c6881982222325ce2638ceff5d authored by fenderglass on 14 April 2014, 20:38:07 UTC, committed by fenderglass on 14 April 2014, 20:38:07 UTC
1 parent fe7d04c
Tip revision: fc81a29481aeb6c6881982222325ce2638ceff5d authored by fenderglass on 14 April 2014, 20:38:07 UTC
python package
python package
Tip revision: fc81a29
setup.py
from setuptools import setup, find_packages, Extension
from glob import glob
from platform import uname
compile_args = ["-std=c++11"]
if uname()[0] == "Darwin":
compile_args.append("-stdlib=libc++")
coverlap = Extension("coverlap",
define_macros = [("PYTHON_LIB", 1)],
sources = glob("ragout/overlap/cpp_impl/*.cpp"),
extra_compile_args = compile_args)
cmaf2synteny = Extension("cmaf2synteny",
define_macros = [("PYTHON_LIB", 1)],
sources = glob("ragout/maf2synteny/cpp_impl/*.cpp"),
extra_compile_args = compile_args)
setup(
name = "ragout",
version = "0.2b",
author = "Mikhail Kolmogorov",
author_email = "fenderglass@gmail.com",
description = "A tool for reference-assisted assembly",
license = "GPLv2",
keywords = "bioinformatics",
url = "http://github.com/fenderglass/Ragout",
package_dir = {"" : "ragout"},
packages = find_packages("ragout"),
long_description = open("README.md", "r").read(),
entry_points = {
"console_scripts" : [
"ragout = main:main",
"maf2synteny = maf2synteny.maf2synteny:main"
]
},
install_requires = ["biopython", "networkx"],
ext_modules=[coverlap, cmaf2synteny]
#package_data = {"" : glob("doc/*")},
#scripts = glob("scripts/*.py"),
#include_package_data=True
#classifiers=[
# "Development Status :: 3 - Alpha",
# "Topic :: Utilities",
# "License :: OSI Approved :: BSD License",
#],
)
Computing file changes ...