<?xml version="1.0" encoding="UTF-8"?>
<project name="jenkinsapi" default="all">
<property file="build.properties" />
-
+
+ <target name="release" depends="clean, compile, test, sdist, bdist, doc" />
+
<target name="all" depends="clean, compile" />
<target name="clean">
<arg value="sdist" />
<arg value="upload" />
</exec>
- </target>
-
- <target name="doc" depends="sdist">
+ </target>
+
+ <target name="bdist" depends="test">
+ <exec executable="python">
+ <arg value="setup.py" />
+ <arg value="bdist_wheel" />
+ <arg value="upload" />
+ </exec>
+ </target>
+
+ <target name="doc" depends="">
<exec executable="python">
<arg value="setup.py" />
<arg value="build_sphinx" />
try:
DESCRIPTION = open(os.path.join(PROJECT_ROOT, "README.rst")).read()
-except IOError, _:
+except IOError:
DESCRIPTION = SHORT_DESCRIPTION
GLOBAL_ENTRY_POINTS = {
include_package_data=False,
install_requires=['requests>=1.2.3', 'pytz>=2013b'],
test_suite='nose.collector',
- tests_require=['mock', 'nose', 'coverage'],
+ tests_require=['mock', 'nose', 'coverage', 'unittest2'],
entry_points=GLOBAL_ENTRY_POINTS,
url=PROJECT_URL,
description=SHORT_DESCRIPTION,