{ "info": { "author": "The LAM ETC42 developers", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Astronomy", "Topic :: Scientific/Engineering :: Physics" ], "description": "ETC42-docker-python\n===================\n\n# Authors\n\nCeSAM (Centre de donn\u00e9eS Astrophysique de Marseille) at LAM (Laboratoire d'Astrophysique de Marseille)\n\n# About ETC42-docker-python:\n\nETC42-docker-python is a python module use to launch etc42\n\n# Requirements\n\n1. For Linux users:\n\n * python3\n\n * virtualenv\n```\npip install --user virtualenv\n```\n * docker\n\n * The Docker daemon binds to a Unix socket instead of a TCP port. By default that Unix socket is owned by the user root and other users can only access it using sudo. The Docker daemon always runs as the root user.\n The docker commands used by ETC42-docker-python can not be prefaced with sudo\n To use ETC42-docker-python correctly we must create a Unix group called docker and add users to it:\n```\nsudo groupadd docker\nsudo usermod -aG docker $USER\n```\n2. For MAC-OS users:\n\n * python3\n\n * venv\n```\npip install --user venv\n```\n * You must have docker on your mac.(see [Mac-OS docker installation](https://docs.docker.com/docker-for-mac/install/))\n * You have to install XQuartz with command line `brew cask install xquartz` (see [XQuartz installation](https://www.xquartz.org/index.html) for MacPorts or others installations type).\n\n __*note*__: don't forget to select __Allow connections from network clients__ on XQuartz preferences (preferences -> security)\n\n# Installation\n\n1. Create a folder for the project ETC42 that will contain all the files needed to run an instance etc42:\n```\nmkdir ETC42\ncd ETC42\n```\n\n2. Clone the etc42-docker-python repository:\n```\ngit clone git@gitlab.lam.fr:etc42/etc42-docker-python.git\n```\n\n3. create virtualenv:\n```\nvirtualenv -p python3 virtualenv_etc42\nsource virtualenv_etc42/bin/activate\n```\nor\n ```\n python3 -m venv virtualenv_etc42\n source virtualenv_etc42/bin/activate\n ```\n\n\n4. install the python modules and the etc42:\n```\ncd etc42-docker-python\npip install -r pip-requirements.txt\npip install -e .\n```\n\n# How to use it\n\n1. if it is not started, use the virtual environment created previously:\n```\nsource virtualenv_etc42/bin/activate\n```\n\n2. launch the etc42:\n```\netc42\n```\n\n To see all etc42 options available:\n ```\n etc42 -h or --help\n ```\n\n\n\n# Create sphinx documentation\n```\nsource virtualenv_etc42/bin/activate\ncd docs\nsphinx-apidoc -f -o source/ ../etc42/\nsphinx-build -b latex source/ build/\ncd build\nmake\n```\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://lam.fr/", "keywords": "", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "etc42", "package_url": "https://pypi.org/project/etc42/", "platform": "", "project_url": "https://pypi.org/project/etc42/", "project_urls": { "Homepage": "https://lam.fr/" }, "release_url": "https://pypi.org/project/etc42/1.0.1/", "requires_dist": [ "docker (>=2.0.0)", "wget (>=1.0)" ], "requires_python": "", "summary": "ETC42 Universal Exposure Time Calculator", "version": "1.0.1" }, "last_serial": 5311790, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "65946b2d41ddad84037390e7a1aedbfb", "sha256": "78d963bccbddcd8668fe495ad2b750c6858df5ff5078f37d4f8a196e2c614b5f" }, "downloads": -1, "filename": "etc42-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "65946b2d41ddad84037390e7a1aedbfb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9238, "upload_time": "2019-01-14T13:47:12", "url": "https://files.pythonhosted.org/packages/4b/a5/7eb1f225d8870a966a9cfa2711746ee080c75254852d0dfe01913fbd201a/etc42-1.0.1-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "65946b2d41ddad84037390e7a1aedbfb", "sha256": "78d963bccbddcd8668fe495ad2b750c6858df5ff5078f37d4f8a196e2c614b5f" }, "downloads": -1, "filename": "etc42-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "65946b2d41ddad84037390e7a1aedbfb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9238, "upload_time": "2019-01-14T13:47:12", "url": "https://files.pythonhosted.org/packages/4b/a5/7eb1f225d8870a966a9cfa2711746ee080c75254852d0dfe01913fbd201a/etc42-1.0.1-py2.py3-none-any.whl" } ] }