[pypy-svn] r75342 - in pypy/trunk/pypy/tool/release: . test

fijal at codespeak.net fijal at codespeak.net
Sat Jun 12 22:40:18 CEST 2010


Author: fijal
Date: Sat Jun 12 22:40:16 2010
New Revision: 75342

Added:
   pypy/trunk/pypy/tool/release/
   pypy/trunk/pypy/tool/release/__init__.py
   pypy/trunk/pypy/tool/release/autopath.py
      - copied unchanged from r75334, pypy/trunk/pypy/tool/autopath.py
   pypy/trunk/pypy/tool/release/pack.py
      - copied, changed from r75338, pypy/trunk/pypy/tool/pack.py
   pypy/trunk/pypy/tool/release/test/
   pypy/trunk/pypy/tool/release/test/__init__.py
   pypy/trunk/pypy/tool/release/test/test_pack.py
      - copied, changed from r75338, pypy/trunk/pypy/tool/test/test_pack.py
Log:
Move pack to it's own directory (would contain more stuff at the end)


Added: pypy/trunk/pypy/tool/release/__init__.py
==============================================================================

Copied: pypy/trunk/pypy/tool/release/pack.py (from r75338, pypy/trunk/pypy/tool/pack.py)
==============================================================================
--- pypy/trunk/pypy/tool/pack.py	(original)
+++ pypy/trunk/pypy/tool/release/pack.py	Sat Jun 12 22:40:16 2010
@@ -5,7 +5,7 @@
 import tarfile
 import os, py
 
-goal_dir = py.path.local(__file__).join('..', '..', 'translator', 'goal')
+goal_dir = py.path.local(__file__).join('..', '..', '..', 'translator', 'goal')
 
 def filenames_from_platform(platform):
     if platform == 'win32':

Added: pypy/trunk/pypy/tool/release/test/__init__.py
==============================================================================

Copied: pypy/trunk/pypy/tool/release/test/test_pack.py (from r75338, pypy/trunk/pypy/tool/test/test_pack.py)
==============================================================================
--- pypy/trunk/pypy/tool/test/test_pack.py	(original)
+++ pypy/trunk/pypy/tool/release/test/test_pack.py	Sat Jun 12 22:40:16 2010
@@ -1,10 +1,9 @@
 
 import py, sys
-from pypy.tool.pack import main
+from pypy.tool.release.pack import main, goal_dir
 import tarfile
 
 def test_pack():
-    goal_dir = py.path.local(__file__).join('..', '..', '..', 'translator', 'goal')
     if not sys.platform == 'linux2':
         py.test.skip("untested on not linux")
     pypy_c = goal_dir.join('pypy-c')



More information about the Pypy-commit mailing list