Permalink
Browse files

fix release & setup.py script

  • Loading branch information...
1 parent 8b38263 commit c1004ea5ef181d890b01ca517530eb498baa1e72 @fdev31 committed Sep 29, 2011
Showing with 14 additions and 4 deletions.
  1. +3 −3 prepare.sh
  2. +11 −0 requirements.txt
  3. +0 −1 setup.py
View
@@ -1,6 +1,6 @@
#!/bin/sh
VENV=virtualenv
-PY=python2.7
+PY=python
DEST="$1"
@@ -13,7 +13,7 @@ rm -fr "$DEST"
$VENV -p $PY --no-site-packages "$DEST"
-#source "$DEST/bin/activate"
+source "$DEST/bin/activate"
"$DEST/bin/pip" install -r requirements.txt
-(cd `dirname "$DEST"` && tar cvf - `basename "$DEST"` | bzip2 -9 `basename "$DEST"`.tbz)
+(cd `dirname "$DEST"` && tar cvf - `basename "$DEST"` | bzip2 -9 > `basename "$DEST"`.tbz)
View
@@ -0,0 +1,11 @@
+jinja2
+markdown
+ZODB3
+whoosh>=2.2
+fs>=0.3
+bottle>=0.9.6
+setproctitle
+repoze.debug
+weberror
+Paste
+
View
@@ -55,7 +55,6 @@ def parse_dependency_links(file_name):
packages=find_packages(),
install_requires = parse_requirements('requirements.txt'),
dependency_links = parse_dependency_links('requirements.txt'),
- install_requires = ['setuptools', 'jinja2', 'markdown', 'ZODB3', 'whoosh>=2.2', 'fs>=0.3', 'bottle>=0.9.6'],
)
# mkvirtualenv foo --no-site-packages
# source foo/bin/activate

0 comments on commit c1004ea

Please sign in to comment.