Переглянути джерело

[desktop] Change lib setup.py files to use the VERSION file

Erick Tryzelaar 10 роки тому
батько
коміт
cc292fab40

+ 1 - 0
desktop/libs/hadoop/hueversion.py

@@ -0,0 +1 @@
+../../../VERSION

+ 2 - 1
desktop/libs/hadoop/setup.py

@@ -15,10 +15,11 @@
 # limitations under the License.
 
 from setuptools import setup, find_packages
+from hueversion import VERSION
 
 setup(
       name = "hadoop",
-      version = "3.7.0",
+      version = VERSION,
       url = 'http://github.com/cloudera/hue',
       description = "Hadoop Libraries",
       # Note that we're cheating by installing gen-py

+ 1 - 0
desktop/libs/indexer/hueversion.py

@@ -0,0 +1 @@
+../../../VERSION

+ 2 - 1
desktop/libs/indexer/setup.py

@@ -14,10 +14,11 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 from setuptools import setup, find_packages
+from hueversion import VERSION
 
 setup(
       name = "indexer",
-      version = "1.0",
+      version = VERSION,
       author = "Hue",
       url = 'http://github.com/cloudera/hue',
       description = "Collections manager for Search",

+ 1 - 0
desktop/libs/liboauth/hueversion.py

@@ -0,0 +1 @@
+../../../VERSION

+ 2 - 1
desktop/libs/liboauth/setup.py

@@ -15,10 +15,11 @@
 # limitations under the License.
 
 from setuptools import setup, find_packages
+from hueversion import VERSION
 
 setup(
       name = "liboauth",
-      version = "1.0",
+      version = VERSION,
       url = 'http://github.com/cloudera/hue',
       description = "OAuth Libraries",
       packages = find_packages('src'),

+ 1 - 0
desktop/libs/liboozie/hueversion.py

@@ -0,0 +1 @@
+../../../VERSION

+ 2 - 1
desktop/libs/liboozie/setup.py

@@ -15,10 +15,11 @@
 # limitations under the License.
 
 from setuptools import setup, find_packages
+from hueversion import VERSION
 
 setup(
       name = "liboozie",
-      version = "3.6.0",
+      version = VERSION,
       url = 'http://github.com/cloudera/hue',
       description = "Oozie Libraries",
       packages = find_packages('src'),

+ 1 - 0
desktop/libs/libopenid/hueversion.py

@@ -0,0 +1 @@
+../../../VERSION

+ 2 - 1
desktop/libs/libopenid/setup.py

@@ -15,10 +15,11 @@
 # limitations under the License.
 
 from setuptools import setup, find_packages
+from hueversion import VERSION
 
 setup(
       name = "libopenid",
-      version = "1.0",
+      version = VERSION,
       url = 'http://github.com/cloudera/hue',
       description = "OPENID Libraries",
       packages = find_packages('src'),

+ 1 - 0
desktop/libs/librdbms/hueversion.py

@@ -0,0 +1 @@
+../../../VERSION

+ 2 - 1
desktop/libs/librdbms/setup.py

@@ -15,10 +15,11 @@
 # limitations under the License.
 
 from setuptools import setup, find_packages
+from hueversion import VERSION
 
 setup(
       name = "librdbms",
-      version = "3.5.0",
+      version = VERSION,
       url = 'http://github.com/cloudera/hue',
       description = "RDBMS Libraries",
       packages = find_packages('src'),

+ 1 - 0
desktop/libs/libsaml/hueversion.py

@@ -0,0 +1 @@
+../../../VERSION

+ 2 - 1
desktop/libs/libsaml/setup.py

@@ -15,10 +15,11 @@
 # limitations under the License.
 
 from setuptools import setup, find_packages
+from hueversion import VERSION
 
 setup(
       name = "libsaml",
-      version = "3.7.0",
+      version = VERSION,
       url = 'http://github.com/cloudera/hue',
       description = "SAML Libraries",
       packages = find_packages('src'),

+ 1 - 0
desktop/libs/libsentry/hueversion.py

@@ -0,0 +1 @@
+../../../VERSION

+ 2 - 1
desktop/libs/libsentry/setup.py

@@ -15,10 +15,11 @@
 # limitations under the License.
 
 from setuptools import setup, find_packages
+from hueversion import VERSION
 
 setup(
       name = "libsentry",
-      version = "3.7.0",
+      version = VERSION,
       url = 'http://github.com/cloudera/hue',
       description = "Sentry Libraries",
       packages = find_packages('src'),

+ 1 - 0
desktop/libs/libsolr/hueversion.py

@@ -0,0 +1 @@
+../../../VERSION

+ 2 - 1
desktop/libs/libsolr/setup.py

@@ -15,10 +15,11 @@
 # limitations under the License.
 
 from setuptools import setup, find_packages
+from hueversion import VERSION
 
 setup(
       name = "libsolr",
-      version = "3.7.0",
+      version = VERSION,
       url = 'http://github.com/cloudera/hue',
       description = "Search Libraries",
       packages = find_packages('src'),