{ "info": { "author": "Jannis Leidel", "author_email": "jannis@leidel.info", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Setuptools Plugin", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Documentation", "Topic :: Software Development :: Documentation", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Sphinx-PyPI-upload\n==================\n\nThis package contains a `setuptools`_ command for uploading `Sphinx`_\ndocumentation to the `Python Package Index`_ (PyPI) at the dedicated URL\npackages.python.org.\n\n.. _setuptools: http://pypi.python.org/pypi/setuptools\n.. _Sphinx: http://sphinx.pocoo.org/\n.. _`Python Package Index`: http://pypi.python.org/\n\n\nThe ``upload_sphinx`` command\n------------------------------\n\n``upload_sphinx`` will create the necessary zip file out of an arbitrary \ndocumentation directory and posts it to the correct URL.\n\nIt's also loosely based on Sphinx' own setuptools command build_sphinx_\nwhich allows to easily build documentation from the command line.\n\nThe ``upload_sphinx`` command has the following options:\n\n- ``--repository (-r)``:\n url of repository [default: http://pypi.python.org/pypi]\n\n- ``--show-response``:\n display full response text from server\n\n- ``--upload-dir``:\n directory to upload\n\n.. _build_sphinx: http://bitbucket.org/birkenfeld/sphinx/src/tip/sphinx/setup_command.py\n\nExample\n--------\n\nAssuming there is an ``Example`` package with Sphinx documentation to be\nuploaded to http://packages.python.org, with the following structure::\n\n Example/\n |-- example.py\n |-- setup.cfg\n |-- setup.py\n |-- docs\n | |-- build\n | | `-- html\n | |-- conf.py\n | |-- index.txt\n | `-- tips_tricks.txt\n\nAs with any other setuptools based command, you can define useful defaults in\nthe setup.cfg of your Python package. The following snippet shows how to set\nthe option defaults of the ``build_sphinx`` and ``upload_sphinx`` setup.py \ncommands::\n\n [build_sphinx]\n source-dir = docs/\n build-dir = docs/build\n all_files = 1\n\n [upload_sphinx]\n upload-dir = docs/build/html\n\nTo build and upload the Sphinx documentation you are now able to run::\n\n $ python setup.py build_sphinx\n $ python setup.py upload_sphinx\n\nAlternatively, you can of course just pass the appropriate options directly\nto the commands::\n\n $ python setup.py build_sphinx --source-dir=docs/ --build-dir=docs/build --all-files\n $ python setup.y upload_sphinx --upload-dir=docs/build/html", "description_content_type": null, "docs_url": "https://pythonhosted.org/ATD_document/", "download_url": "http://bitbucket.org/jezdez/sphinx-pypi-upload/downloads/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/jezdez/sphinx-pypi-upload/", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "ATD_document", "package_url": "https://pypi.org/project/ATD_document/", "platform": "any", "project_url": "https://pypi.org/project/ATD_document/", "project_urls": { "Download": "http://bitbucket.org/jezdez/sphinx-pypi-upload/downloads/", "Homepage": "http://bitbucket.org/jezdez/sphinx-pypi-upload/" }, "release_url": "https://pypi.org/project/ATD_document/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "setuptools command for uploading Sphinx documentation to PyPI", "version": "0.1.1" }, "last_serial": 877330, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "64394ba8203c5a6afb962dc4208f7c9f", "sha256": "55ed2b0cd5911600e8d1253fbdef17ed6327cd81371b451092940ffa9039fd12" }, "downloads": -1, "filename": "ATD_document-0.1.1.tar.gz", "has_sig": false, "md5_digest": "64394ba8203c5a6afb962dc4208f7c9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2362, "upload_time": "2013-09-30T21:29:46", "url": "https://files.pythonhosted.org/packages/66/b5/fd0d5ca92b5b6c2a591a1a7ceccacab82e57f1db4009fedec2ada304c3c0/ATD_document-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "64394ba8203c5a6afb962dc4208f7c9f", "sha256": "55ed2b0cd5911600e8d1253fbdef17ed6327cd81371b451092940ffa9039fd12" }, "downloads": -1, "filename": "ATD_document-0.1.1.tar.gz", "has_sig": false, "md5_digest": "64394ba8203c5a6afb962dc4208f7c9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2362, "upload_time": "2013-09-30T21:29:46", "url": "https://files.pythonhosted.org/packages/66/b5/fd0d5ca92b5b6c2a591a1a7ceccacab82e57f1db4009fedec2ada304c3c0/ATD_document-0.1.1.tar.gz" } ] }