From: Salim Fadhley Date: Thu, 9 Feb 2012 00:00:29 +0000 (+0000) Subject: Yet more corrections required for the 0.1.1 release, including some X-Git-Tag: v0.2.23~310 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0a438dccac447c4d268f61744f9584d4388e27f;p=tools%2Fpython-jenkinsapi.git Yet more corrections required for the 0.1.1 release, including some typos in the doc-building ANT script and the main setup script. Also added an ANT script which automates much of the release process. --- diff --git a/build.xml b/build.xml index 96b4e6e..07d3bd2 100644 --- a/build.xml +++ b/build.xml @@ -15,12 +15,13 @@ - + + @@ -36,6 +37,7 @@ + @@ -43,7 +45,9 @@ + - + + \ No newline at end of file diff --git a/doc/build.xml b/doc/build.xml index 704e17d..d9a9c73 100644 --- a/doc/build.xml +++ b/doc/build.xml @@ -1,5 +1,5 @@ - + diff --git a/setup.py b/setup.py index c28e36f..e8d5848 100644 --- a/setup.py +++ b/setup.py @@ -5,11 +5,11 @@ setup(name=PROJECT_NAME.lower(), version=VERSION, author=PROJECT_AUTHORS, author_email=PROJECT_EMAILS, - packages=["jenkinsapi",'jenkinsapi.utils'], # Disabled use fo find-packages to exclude examples & tests + packages=["jenkinsapi",'jenkinsapi.utils'], zip_safe=True, include_package_data = False, entry_points = GLOBAL_ENTRY_POINTS, url=PROJECT_URL, description=SHORT_DESCRIPTION, - long_description=DESCRIPTION, + long_description=DESCRIPTION ) diff --git a/setup_config.py b/setup_config.py index fc1daa4..deaba78 100644 --- a/setup_config.py +++ b/setup_config.py @@ -9,10 +9,13 @@ DESCRIPTION = open( os.path.join(PROJECT_ROOT, "README") ).read() VERSION = REVISION = '0.1.1' PROJECT_NAME = 'JenkinsAPI' PROJECT_AUTHORS = "Salim Fadhley, Ramon van Alteren, Ruslan Lutsenko" -PROJECT_EMAILS = 'salimfadhley@gmail.com, ramon@vanalteren.nl, ruslan.lutcenko@gmail.com', +PROJECT_EMAILS = 'salimfadhley@gmail.com, ramon@vanalteren.nl, ruslan.lutcenko@gmail.com' PROJECT_URL = "https://github.com/salimfadhley/jenkinsapi" SHORT_DESCRIPTION = 'A Python API for accessing resources on a Jenkins continuous-integration server.' GLOBAL_ENTRY_POINTS = { "console_scripts":[ "jenkins_invoke=jenkinsapi.command_line.jenkins_invoke:main"] - } \ No newline at end of file + } + +if __name__ == "__main__": + print(DESCRIPTION) \ No newline at end of file