ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-sqlalchemy-setup.patch
Revision: 1.2
Committed: Thu Apr 3 09:11:37 2008 UTC (17 years ago) by valya
Branch: MAIN
Changes since 1.1: +1 -1 lines
Log Message:
Move to new version, 0.4.4

File Contents

# User Rev Content
1 eulisse 1.1 diff --git a/setup.py b/setup.py
2     index 092d0d5..a2ab53c 100644
3     --- a/setup.py
4     +++ b/setup.py
5     @@ -1,6 +1,15 @@
6     -from ez_setup import use_setuptools
7     -use_setuptools()
8     -from setuptools import setup, find_packages
9     +from distutils.core import setup
10     +is_setuptools = False
11     +from commands import getstatusoutput
12     +import sys
13     +
14     +def find_packages (directory):
15     + error, output = getstatusoutput (("""
16     +find %(directory)s/sqlalchemy -name __init__.py | sed -e 's|%(directory)s/||;s|/|.|g;s|.__init__.py||'
17     +""" % locals ()).strip ('\n'))
18     + if error:
19     + sys.exit (1)
20     + return output.split ("\n")
21    
22     setup(name = "SQLAlchemy",
23 valya 1.2 version = "0.4.4",