InstallΒΆ
Prerequisites and Resources:
| prerequisite | reference | description | details |
|---|---|---|---|
| Runtime | Python | CPython2.7+, CPython3.5+ | [install python] |
| PyPy | PyPy2, PyPy3 | [install pypy] | |
| stackless | stackless2, stackless3 | [install stackless] | |
| ironpython | ironpython | [install ironpython] | |
| OS | Linux, Mac-OS/OS-X, BSD, UNIX, Cygwin, MS-Windows | ||
| Devices | RaspberryPI (2,3): Raspbian, FreeBSD, OpenWRT | ||
| SDK2 | Python | CPython2.7+ | |
| bash | bash-4.x | ||
| documents | Sphinx >=1.4, Epydoc >=3 or Apydoc >=4 | ||
| OS | Linux, Mac-OS/OS-X, BSD, UNIX, Cygwin, | ||
| SDK2+3 | Python | CPython2.7+, CPython3.5+ | |
| bash | bash-4.x | ||
| documents | Sphinx >=1.4, Apydoc >=4 | ||
| OS | Linux, Mac-OS/OS-X, BSD, UNIX, Cygwin, | ||
| Download | PyPI | https://pypi.python.org/pypi/jsondata | |
| Sourceforge | https://sourceforge.net/projects/jsondata/ | ||
| github.com | https://github.com/ArnoCan/jsondata/ | ||
| Documents | pythonhosted | https://pythonhosted.org/jsondata/ |
Install:
| environment | description |
|---|---|
| Runtime | Standard procedure online local install e.g. into virtual environment:
|
Standard procedure online local install into user home:
|
|
Custom procedure offline by:
|
|
Copy archive distribution:
|
|
| SDK | Required for document creation, add ‘–sdk’ option, checks build tools:
|
Creation of documents, requires Sphinx including ‘sphinx-apidoc’, and Epydoc:
|
|
Create a document archive for copy distribution:
Creates tar.gz and tgz in dist |
Extensions:
The following custom options are added to the standard options of setup.py.
| call | description | |
|---|---|---|
| setup.py | build_sphinx | Builds sphinx-only documents. |
| build_doc | Builds complete documentation. | |
| build_epydoc | Builds epydoc-only documents. | |
| build_apydoc | Builds apydoc-only documents. | |
| cpdist | Creates an archives for simple unpack: tarball, zip | |
| docdist | Creates documentation for simple unpack: tarball, zip | |
| install_doc | Installs documentation. | |
| tests | Runs unittests from ‘tests’. | |
| usecases | Runs unittests from ‘UseCases’. | |
| –exit | Exits the setup.py before execution. | |
| –help-commands | Print includes extensions. | |
| –help-jsondata | Prints help for extensions. | |
| –no-install-requires | Ignores install dependencies. | |
| –offline | Supress PyPI access, includes –no-install-requires. | |
| –sdk | Installs SDK, including sphinx, and apydoc. |
For help on current available extensions to standard options call online help:
python setup.py --help-jsondata