[Yt-svn] yt: Initial import of astro_objects directory

hg at spacepope.org hg at spacepope.org
Sun Feb 13 10:07:54 PST 2011


hg Repository: yt
details:   yt/rev/4d84f6377fa3
changeset: 3730:4d84f6377fa3
user:      Matthew Turk <matthewturk at gmail.com>
date:
Sun Feb 13 13:07:48 2011 -0500
description:
Initial import of astro_objects directory

diffstat:

 yt/astro_objects/api.py   |  27 +++++++++++++++++++++++++++
 yt/astro_objects/setup.py |  12 ++++++++++++
 yt/setup.py               |   1 +
 3 files changed, 40 insertions(+), 0 deletions(-)

diffs (58 lines):

diff -r a763d0bcb2df -r 4d84f6377fa3 yt/astro_objects/api.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/yt/astro_objects/api.py	Sun Feb 13 13:07:48 2011 -0500
@@ -0,0 +1,27 @@
+"""
+API for yt.astro_objects
+
+Author: Matthew Turk <matthewturk at gmail.com>
+Affiliation: NSF / Columbia
+Homepage: http://yt.enzotools.org/
+License:
+  Copyright (C) 2011 Matthew Turk.  All Rights Reserved.
+
+  This file is part of yt.
+
+  yt 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 <http://www.gnu.org/licenses/>.
+
+"""
+
+# Nothing here yet!
diff -r a763d0bcb2df -r 4d84f6377fa3 yt/astro_objects/setup.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/yt/astro_objects/setup.py	Sun Feb 13 13:07:48 2011 -0500
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+import setuptools
+import os, sys, os.path
+
+import os.path
+
+def configuration(parent_package='',top_path=None):
+    from numpy.distutils.misc_util import Configuration
+    config = Configuration('astro_objects',parent_package,top_path)
+    config.make_config_py() # installs __config__.py
+    config.make_svn_version_py()
+    return config
diff -r a763d0bcb2df -r 4d84f6377fa3 yt/setup.py
--- a/yt/setup.py	Thu Feb 10 10:09:48 2011 -0500
+++ b/yt/setup.py	Sun Feb 13 13:07:48 2011 -0500
@@ -6,6 +6,7 @@
     from numpy.distutils.misc_util import Configuration
     config = Configuration('yt', parent_package, top_path)
     config.add_subpackage('analysis_modules')
+    config.add_subpackage('astro_objects')
     config.add_subpackage('data_objects')
     config.add_subpackage('frontends')
     config.add_subpackage('gui')



More information about the yt-svn mailing list