From 0f54ee4428ba4057a0d8ba56868278490efea71f Mon Sep 17 00:00:00 2001 From: Six Date: Sat, 11 Dec 2010 18:47:10 -0500 Subject: added copyright info --- lib/dodai/build/__init__.py | 23 +++++++++++++++++++++-- lib/dodai/build/after_install.py | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/lib/dodai/build/__init__.py b/lib/dodai/build/__init__.py index c4989be..10d8d12 100644 --- a/lib/dodai/build/__init__.py +++ b/lib/dodai/build/__init__.py @@ -1,3 +1,22 @@ +# +# Copyright 2010 Leonard Thomas +# +# This file is part of Dodai. +# +# Dodai 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. +# +# Dodai 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 Dodai. If not, see . + + from setuptools.command.easy_install import easy_install from distutils.util import convert_path from pkg_resources import Distribution, PathMetadata, normalize_path @@ -160,8 +179,8 @@ class AfterInstall(object): class VirtualEnvDev(object): NAME = 'devstrap.py' - PACKAGES = ['nose', 'virtualenv', 'ipython', 'mercurial', 'pylint'] - HG_URL = 'hg clone https://dodai.googlecode.com/hg' + PACKAGES = ['nose', 'virtualenv', 'ipython', 'pylint'] + HG_URL = 'https://dodai.googlecode.com/hg/' HG_DEST = 'src' AFTER_BUILD = [] diff --git a/lib/dodai/build/after_install.py b/lib/dodai/build/after_install.py index 16c1ec6..d84739e 100644 --- a/lib/dodai/build/after_install.py +++ b/lib/dodai/build/after_install.py @@ -1,3 +1,23 @@ +# +# Copyright 2010 Leonard Thomas +# +# This file is part of Dodai. +# +# Dodai 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. +# +# Dodai 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 Dodai. If not, see . + + + import os from collections import namedtuple from subprocess import Popen @@ -47,6 +67,7 @@ class HgClone(object): self._hg_ = os.path.join(self._paths.bin, 'hg') if not os.path.exists(self._hg_): self._easy_install('mercurial') + self._hg_ = os.path.join(self._paths.bin, 'hg') return self._hg_ def __call__(self, url, dest): -- cgit v1.2.3