@@ -0,0 +1,1372 @@
+%22%22%22%0Afile to set up python package, see http://docs.python.org/2/distutils/setupscript.html for details.%0A%22%22%22%0A%0A%0Aimport platform%0Aimport os%0Aimport sys%0Aimport shutil%0Aimport setuptools%0A%0Afrom distutils.core import setup%0Afrom distutils.extension import Extension%0Afrom distutils.command.clean import clean as Clean%0A%0A%0Atry: import numpy%09%0Aexcept Exception:%0A%09print %22numpy needed for installation, please install numpy first%22%0A%09sys.exit()%0Atry: import scipy%0Aexcept Exception:%0A%09print %22scipy needed for installation, please install numpy first%22%0A%09sys.exit()%0A%0Adef readme():%0A    with open('leap/README.md') as f:%0A       return f.read()%0A%0A# set up macro%0Aif %22win%22 in platform.system().lower():%0A    macros = %5B(%22_WIN32%22, %221%22)%5D%0Aelse:%0A    macros = %5B(%22_UNIX%22, %221%22)%5D%0A%0A%0A#python setup.py sdist bdist_wininst upload%0Asetup(%0A    name='leap_gwas',%0A    version='0.1.4',%0A    description='Liability Estimation in Case Control Studies',%0A    long_description=readme(),%0A    keywords='gwas bioinformatics LMMs MLMs',%0A    url=%22https://github.com/omerwe/LEAP%22,%0A    author='Omer Weissbrod',%0A    author_email='omerw@cs.technion.ac.il',%0A    license='Apache 2.0',    %0A%09packages=%5B%22leap%22, %22leap/leap%22, %22leap/dataset1%22, %22leap/results_gold%22%5D,%0A    include_package_data=True,%0A    requires = %5B'numpy', 'scipy', 'fastlmm', 'sklearn'%5D,%0A    #zip_safe=False,%0A    # extensions        %0A%09include_dirs = %5Bnumpy.get_include()%5D%0A  )%09   %0A%09%0A

Create setup.py