{ "info": { "author": "Andrew Chase", "author_email": "theandychase@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "require-python-3 contains this code:\r\n\r\n::\r\n\r\n if sys.version_info[0] != 3: \r\n print(\"This script requires Python 3\") \r\n exit()\r\n\r\nHow to use\r\n----------\r\n\r\nInstall package\r\n~~~~~~~~~~~~~~~\r\n\r\nEither:\r\n\r\n1. Add ``require-python-3`` to your ``requirements.txt`` file and run\r\n ``pip3 install -r requirements.txt``\r\n2. Or run directly: ``pip3 install require-python-3``\r\n3. Or download `require_python_3.py`__ directly and put it next to your script sources\r\n\r\n__ https://raw.githubusercontent.com/asperous/require-python-3/master/require_python_3.py\r\n\r\nInclude module\r\n~~~~~~~~~~~~~~\r\n\r\nAdd ``import require_python_3`` to your scripts that require python 3.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/andychase/require-python-3", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "require-python-3", "package_url": "https://pypi.org/project/require-python-3/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/require-python-3/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/andychase/require-python-3" }, "release_url": "https://pypi.org/project/require-python-3/1/", "requires_dist": null, "requires_python": null, "summary": "Makes your script require python 3", "version": "1" }, "last_serial": 1355676, "releases": { "1": [ { "comment_text": "", "digests": { "md5": "1d346f54b6cb21ac93496e4140e5dedd", "sha256": "25b741f8cf8293c4952635725106901ac59c1311153de6376a3116dec50a2046" }, "downloads": -1, "filename": "require-python-3-1.tar.gz", "has_sig": false, "md5_digest": "1d346f54b6cb21ac93496e4140e5dedd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1425, "upload_time": "2014-10-16T22:17:22", "url": "https://files.pythonhosted.org/packages/25/76/e18099108e3028ee0ec33b727d08427eabf6d6d405059f05f127bcf4a063/require-python-3-1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1d346f54b6cb21ac93496e4140e5dedd", "sha256": "25b741f8cf8293c4952635725106901ac59c1311153de6376a3116dec50a2046" }, "downloads": -1, "filename": "require-python-3-1.tar.gz", "has_sig": false, "md5_digest": "1d346f54b6cb21ac93496e4140e5dedd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1425, "upload_time": "2014-10-16T22:17:22", "url": "https://files.pythonhosted.org/packages/25/76/e18099108e3028ee0ec33b727d08427eabf6d6d405059f05f127bcf4a063/require-python-3-1.tar.gz" } ] }