from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "mock-1.0.1.tar.gz" builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "docutils-0.7.tar.gz" builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "APLpy-0.9.5.tar.gz" builder.build()
import os.path from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "scipy-0.11.0.tar.gz" blas = builder.dep.get_install_path("blas") lapack = builder.dep.get_install_path("lapack") blaslib = os.path.join(blas, 'lib/libblas.a') lapacklib = os.path.join(lapack, 'lib/liblapack.a') builder.add_env("BLAS", blaslib) builder.add_env("LAPACK", lapacklib) builder.nowarnings = True builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "APLpy-1.1.1.tar.gz" builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "pywcs-1.8.1-4.4.4.tar.gz" builder.nowarnings = True builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "pylint-0.14.0.tar.gz" builder.add_file("setupegg.py") builder.nowarnings = True builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "pytz-2012j.tar.gz" builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "matplotlib-2.0.0.tar.gz" builder.nowarnings = True builder.build()
import os import sys from askapdev.rbuild.builders import Setuptools as Builder # No docs here. if 'doc' in sys.argv: sys.exit(0) # Added to stop 'clean' target from warning about non-existent 'build/lib' dir. def postcallback(): target = os.path.join('build', 'lib') if not os.path.exists(target): os.makedirs(os.path.join('build', 'lib')) builder = Builder('.') builder.add_postcallback(postcallback) builder.build()
from askapdev.rbuild.builders import Setuptools as Builder import askapdev.rbuild.utils as utils builder = Builder() builder.remote_archive = "pywcs-1.12.tar.gz" builder.nowarnings = True platform = utils.get_platform() if platform['system'] == 'Darwin': builder.add_option('CFLAGS="-framework Accelerate"') builder.build()
# Copyright (c) 2013 CSIRO # Australia Telescope National Facility (ATNF) # Commonwealth Scientific and Industrial Research Organisation (CSIRO) # PO Box 76, Epping NSW 1710, Australia # [email protected] # # This file is part of the ASKAP software distribution. # # The ASKAP software distribution 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 2 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, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. # from askapdev.rbuild.builders import Setuptools as Builder builder = Builder(".") builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "Pygments-1.3.1.tar.gz" builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.nowarnings = True builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "Sphinx-1.1.3.tar.gz" builder.build()
# Copyright (c) 2009 CSIRO # Australia Telescope National Facility (ATNF) # Commonwealth Scientific and Industrial Research Organisation (CSIRO) # PO Box 76, Epping NSW 1710, Australia # [email protected] # # This file is part of the ASKAP software distribution. # # The ASKAP software distribution 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 2 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, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. # from askapdev.rbuild.builders import Setuptools as Builder builder = Builder(".") builder.add_install_file("files", "config") builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "scons-2.3.4.tar.gz" builder.nowarnings = True builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "logilab.pylintinstaller-0.1.1.tar.gz" builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "Jinja2-2.5.tar.gz" builder.build()
import os.path import glob import shutil from askapdev.rbuild.builders import Setuptools as Builder # hack as install_header setup target doesn't seem to work # numpy-1.6.1/build/src.linux-x86_64-2.6/numpy/core/include/ def callback(): bdistdir = glob.glob('%s/build/src*' % builder._package) if os.path.exists(bdistdir[0]): incdir = os.path.join(bdistdir[0], 'numpy', 'core', 'include') if not os.path.exists('install/include'): shutil.copytree(incdir ,'install/include') builder = Builder() builder.remote_archive = "numpy-1.6.2.tar.gz" blas = builder.dep.get_install_path("blas") lapack = builder.dep.get_install_path("lapack") blaslib = os.path.join(blas, 'lib', 'libblas.a') lapacklib = os.path.join(lapack, 'lib', 'liblapack.a') builder.add_env("BLAS", blaslib) builder.add_env("LAPACK", lapacklib) builder.add_postcallback(callback) builder.nowarnings = True builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "matplotlib-1.2.0.tar.gz" builder.nowarnings = True builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "pyfits-2.3.1.tar.gz" builder.nowarnings = True builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder('.') builder.build()
from askapdev.rbuild.builders import Setuptools as Builder builder = Builder() builder.remote_archive = "astropy-1.3.tar.gz" builder.nowarnings = True builder.build()