Permalink
Browse files

more packaging tweaks

  • Loading branch information...
1 parent fc57fc4 commit a24dd30b6ea82977fb6fb4bbe027eecf51a3d8e6 @technige technige committed May 2, 2012
Showing with 8 additions and 15 deletions.
  1. +1 −1 MANIFEST.in
  2. 0 version → VERSION
  3. +3 −11 bin/build
  4. +4 −3 setup.py
View
@@ -1,2 +1,2 @@
-include LICENSE NOTICE README
+include LICENSE NOTICE README.creole VERSION
View
File renamed without changes.
View
@@ -9,17 +9,9 @@ PY2NEO=`dirname $0`/..
cd $PY2NEO
git pull
-# check version numbers
-REPO_VERSION=`cat version | awk '{print $1}'`
-SETUP_VERSION=`grep version setup.py | awk -F\" '{print $2}'`
-
-if [ "$REPO_VERSION" == "$SETUP_VERSION" ]
-then
- echo "*** Building version $REPO_VERSION ***"
-else
- echo "*** Version mismatch $REPO_VERSION != $SETUP_VERSION ***"
- exit 1
-fi
+# check version number
+REPO_VERSION=`cat VERSION | awk '{print $1}'`
+echo "*** Building version $REPO_VERSION ***"
# make sure the latest version is installed and get its version
# (must be a way to do this without having to install)
View
@@ -1,10 +1,12 @@
#!/usr/bin/env python
from distutils.core import setup
+from pkg_resources import require
+require("tornado")
setup(
name="py2neo",
- version="1.2.3",
+ version=file("VERSION").read(),
description="Python bindings to Neo4j",
long_description="""The py2neo project provides bindings between Python and Neo4j via its RESTful web service interface. It attempts to be both Pythonic and consistent with the core Neo4j API and is compatible with Python 3.""",
author="Nigel Small",
@@ -14,6 +16,5 @@
package_dir={"": "src"},
packages=["py2neo"],
license="Apache License, Version 2.0",
- classifiers=[],
- requires=["tornado"]
+ classifiers=[]
)

0 comments on commit a24dd30

Please sign in to comment.