+++ /dev/null
-import os, sys\r
-\r
-try:\r
- from epydoc.cli import cli\r
-except ImportError:\r
- from pkg_resources import require\r
- require("epydoc>=3.0.1")\r
- from epydoc.cli import cli\r
- \r
-DOC_DIR, _ = os.path.split( os.path.abspath( __file__ ) )\r
-PROJECT_DIR, _ = os.path.split( DOC_DIR )\r
-\r
-sys.path.insert( 0, PROJECT_DIR )\r
- \r
-cli()
\ No newline at end of file
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, PROJECT_DIR )
+#Sanity check
+import jenkinsapi
+
# Config file
import setup_config as jenkinsapi_setup_config
#default_role = None
# If true, '()' will be appended to :func: etc. cross-reference text.
-#add_function_parentheses = True
+add_function_parentheses = True
# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
# If true, sectionauthor and moduleauthor directives will be shown in the
# output. They are ignored by default.
-#show_authors = False
+show_authors = True
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
-Welcome to JenkinsAPI's documentation!
-=======================================
+Welcome to the JenkinsAPI project documentation
+===============================================
Contents:
.. toctree::
:maxdepth: 2
+.. automodule:: jenkinsapi
+ :members:
+
+.. automodule:: jenkinsapi.api
+ :members:
+
Indices and tables
from setuptools import setup, find_packages
import sys, os
+from setup_config import DESCRIPTION, VERSION, PROJECT_NAME, PROJECT_AUTHORS, GLOBAL_ENTRY_POINTS, PROJECT_EMAILS, PROJECT_URL, SHORT_DESCRIPTION
-# Use the README file as the long-description for the project.
-# This makes sure that the PyPi index page contains automatically
-# generated documentation.
-PROJECT_ROOT, _ = os.path.split(__file__)
-DESCRIPTION = open( os.path.join(PROJECT_ROOT, "README") ).read()
-VERSION = REVISION = '0.1.1'
-PROJECT_NAME = 'jenkinsapi'
-PROJECT_AUTHORS = "Salim Fadhley, Ramon van Alteren"
-
-GLOBAL_ENTRY_POINTS = {
- "console_scripts":[ "jenkins_invoke=jenkinsapi.command_line.jenkins_invoke:main"]
- }
-
-setup(name=PROJECT_NAME,
+setup(name=PROJECT_NAME.lower(),
version=VERSION,
author=PROJECT_AUTHORS,
- author_email='salimfadhley@gmail.com, ramon@vanalteren.nl',
+ author_email=PROJECT_EMAILS,
packages=find_packages('.'),
zip_safe=True,
include_package_data = False,
entry_points = GLOBAL_ENTRY_POINTS,
- url="https://github.com/salimfadhley/jenkinsapi",
- description='A Python API for accessing resources on a Jenkins continuous-integration server.',
+ url=PROJECT_URL,
+ description=SHORT_DESCRIPTION,
long_description=DESCRIPTION,
)
--- /dev/null
+from setuptools import setup, find_packages\r
+import sys, os\r
+\r
+# Use the README file as the long-description for the project. \r
+# This makes sure that the PyPi index page contains automatically\r
+# generated documentation.\r
+PROJECT_ROOT, _ = os.path.split(__file__) \r
+DESCRIPTION = open( os.path.join(PROJECT_ROOT, "README") ).read()\r
+VERSION = REVISION = '0.1.1'\r
+PROJECT_NAME = 'JenkinsAPI'\r
+PROJECT_AUTHORS = "Salim Fadhley, Ramon van Alteren, Ruslan Lutsenko"\r
+PROJECT_EMAILS = 'salimfadhley@gmail.com, ramon@vanalteren.nl, ruslan.lutcenko@gmail.com',\r
+PROJECT_URL = "https://github.com/salimfadhley/jenkinsapi"\r
+SHORT_DESCRIPTION = 'A Python API for accessing resources on a Jenkins continuous-integration server.'\r
+\r
+GLOBAL_ENTRY_POINTS = {\r
+ "console_scripts":[ "jenkins_invoke=jenkinsapi.command_line.jenkins_invoke:main"]\r
+ }
\ No newline at end of file