Skip to content
Snippets Groups Projects
Select Git revision
  • d85a0f6d494e96913426fd7e60ab9b9f570b10a5
  • main default protected
  • 0.3.0
  • 0.2.3
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
12 results

setup.py

Blame
  • setup.py 1.33 KiB
    # Copyright (C) 2023 Blaise Li
    #
    # This program is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with this program.  If not, see <https://www.gnu.org/licenses/>.
    from setuptools import setup, find_packages
    #from Cython.Build import cythonize
    
    # Adapted from Biopython
    __version__ = "Undefined"
    for line in open('libsnp/__init__.py'):
        if (line.startswith('__version__')):
            exec(line.strip())
    
    
    setup(
        name="libsnp",
        #version=libworkflows.__version__,
        version=__version__,
        description="Miscellaneous things to deal with SNP data.",
        author="Blaise Li",
        author_email="blaise.li@normalesup.org",
        license="GNU GPLv3",
        packages=find_packages(),
        install_requires=[
            "pandas",
            "pysam"]
        )
        #ext_modules = cythonize("libsnp/libsnp.pyx"),
        #install_requires=["cytoolz"],
        #zip_safe=False