avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r1561801 - in /avro/trunk: build.sh lang/py3/setup.py
Date Mon, 27 Jan 2014 19:25:28 GMT
Author: cutting
Date: Mon Jan 27 19:25:28 2014
New Revision: 1561801

URL: http://svn.apache.org/r1561801
Log:
Fix build to better support python3 releases.

Modified:
    avro/trunk/build.sh
    avro/trunk/lang/py3/setup.py

Modified: avro/trunk/build.sh
URL: http://svn.apache.org/viewvc/avro/trunk/build.sh?rev=1561801&r1=1561800&r2=1561801&view=diff
==============================================================================
--- avro/trunk/build.sh (original)
+++ avro/trunk/build.sh Mon Jan 27 19:25:28 2014
@@ -101,7 +101,7 @@ case "$target" in
         (mvn -N -P copy-artifacts antrun:run) 
 
 	(cd lang/py; ant dist)
-	(cd lang/py3; python3 setup.py bdist; cp -r dist ../../dist/py3)
+	(cd lang/py3; python3 setup.py sdist; cp -r dist ../../dist/py3)
 
 	(cd lang/c; ./build.sh dist)
 

Modified: avro/trunk/lang/py3/setup.py
URL: http://svn.apache.org/viewvc/avro/trunk/lang/py3/setup.py?rev=1561801&r1=1561800&r2=1561801&view=diff
==============================================================================
--- avro/trunk/lang/py3/setup.py (original)
+++ avro/trunk/lang/py3/setup.py Mon Jan 27 19:25:28 2014
@@ -72,7 +72,7 @@ def Main():
   )
 
   setup(
-    name = 'avro',
+    name = 'avro-python3',
     version = avro_version,
     packages = ['avro'],
     package_dir = {'avro': 'avro'},



Mime
View raw message