{"action":"created","issue":{"url":"https://api.github.com/repos/zeckalpha/widely/issues/12","repository_url":"https://api.github.com/repos/zeckalpha/widely","labels_url":"https://api.github.com/repos/zeckalpha/widely/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/zeckalpha/widely/issues/12/comments","events_url":"https://api.github.com/repos/zeckalpha/widely/issues/12/events","html_url":"https://github.com/zeckalpha/widely/issues/12","id":167505785,"number":12,"title":"\"parse_requirements() missing 1 required keyword argument\",","user":{"login":"luckypoem","id":1657864,"avatar_url":"https://avatars.githubusercontent.com/u/1657864?v=3","gravatar_id":"","url":"https://api.github.com/users/luckypoem","html_url":"https://github.com/luckypoem","followers_url":"https://api.github.com/users/luckypoem/followers","following_url":"https://api.github.com/users/luckypoem/following{/other_user}","gists_url":"https://api.github.com/users/luckypoem/gists{/gist_id}","starred_url":"https://api.github.com/users/luckypoem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckypoem/subscriptions","organizations_url":"https://api.github.com/users/luckypoem/orgs","repos_url":"https://api.github.com/users/luckypoem/repos","events_url":"https://api.github.com/users/luckypoem/events{/privacy}","received_events_url":"https://api.github.com/users/luckypoem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zeckalpha/widely/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-26T02:07:29Z","updated_at":"2016-07-26T06:39:42Z","closed_at":null,"body":"hi.\r\n\r\nroot@AR:~/widely# pip install -r requirements.txt\r\nroot@AR:~/widely# ls\r\nbuild_docs  LICENSE.md\tMANIFEST.in  README.md\tREADME.rst  requirements.txt  setup.py\twidely\r\nroot@AR:~/widely# python setup.py install\r\nTraceback (most recent call last):\r\n  File \"setup.py\", line 14, in <module>\r\n    requirements = [str(ir.req) for ir in install_requirements]\r\n  File \"/usr/local/lib/python2.7/dist-packages/pip/req/req_file.py\", line 79, in parse_requirements\r\n    \"parse_requirements() missing 1 required keyword argument: \"\r\nTypeError: parse_requirements() missing 1 required keyword argument: 'session'\r\nroot@AR:~/widely#\r\n\r\nhow to fix it?"},"comment":{"url":"https://api.github.com/repos/zeckalpha/widely/issues/comments/235176312","html_url":"https://github.com/zeckalpha/widely/issues/12#issuecomment-235176312","issue_url":"https://api.github.com/repos/zeckalpha/widely/issues/12","id":235176312,"user":{"login":"luckypoem","id":1657864,"avatar_url":"https://avatars.githubusercontent.com/u/1657864?v=3","gravatar_id":"","url":"https://api.github.com/users/luckypoem","html_url":"https://github.com/luckypoem","followers_url":"https://api.github.com/users/luckypoem/followers","following_url":"https://api.github.com/users/luckypoem/following{/other_user}","gists_url":"https://api.github.com/users/luckypoem/gists{/gist_id}","starred_url":"https://api.github.com/users/luckypoem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckypoem/subscriptions","organizations_url":"https://api.github.com/users/luckypoem/orgs","repos_url":"https://api.github.com/users/luckypoem/repos","events_url":"https://api.github.com/users/luckypoem/events{/privacy}","received_events_url":"https://api.github.com/users/luckypoem/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T06:39:42Z","updated_at":"2016-07-26T06:39:42Z","body":"hi.\r\n\r\ni made some modifications to setup.py,but it doesn't work:\r\n\r\nroot@AR:~/widely# cat setup.py\r\nimport os\r\n\r\nfrom setuptools import setup, find_packages\r\nfrom pip.req import parse_requirements, PipSession\r\n\r\n\r\nbasedir = os.path.dirname(__file__)\r\nrequirements_path = os.path.join(basedir, 'requirements.txt')\r\n\r\n# parse_requirements() returns generator of pip.req.InstallRequirement objects\r\ninstall_requirements = parse_requirements(requirements_path), session=PipSession()\r\n\r\n# Convert to setup's list of strings format:\r\nrequirements = [str(ir.req) for ir in install_requirements]\r\n\r\nsetup(\r\n    name='widely',\r\n    version='0.15',\r\n    description='Static Site as a Service using AWS S3',\r\n    long_description=open('README.rst').read(),\r\n    author='Kyle Marek-Spartz and Michael Burling',\r\n    author_email='kyle.marek.spartz@gmail.com',\r\n    py_modules=['widely'],\r\n    url='http://www.celador.mn/widely',\r\n    include_package_data=True,\r\n    packages=find_packages(exclude=['tests*']),\r\n    install_requires=requirements,\r\n    entry_points={\r\n        'console_scripts': [\r\n            'widely = widely:main',\r\n        ],\r\n    },\r\n    test_suite='nose.collector',\r\n    classifiers=[\"Development Status :: 3 - Alpha\",\r\n                 \"Environment :: Console\",\r\n                 \"Intended Audience :: Developers\",\r\n                 \"Intended Audience :: Information Technology\",\r\n                 \"Intended Audience :: System Administrators\",\r\n                 \"License :: OSI Approved :: MIT License\",\r\n                 \"Programming Language :: Python :: 2.7\",\r\n                 \"Programming Language :: Python :: 2 :: Only\",\r\n                 \"Topic :: Internet\",\r\n                 \"Topic :: Internet :: WWW/HTTP\",\r\n                 \"Topic :: Internet :: WWW/HTTP :: Site Management\",\r\n                 \"Topic :: Utilities\"],\r\n    license='MIT'\r\n)\r\nroot@AR:~/widely#\r\nroot@AR:~/widely# python setup.py install\r\n  File \"setup.py\", line 11\r\n    install_requirements = parse_requirements(requirements_path), session=PipSession()\r\nSyntaxError: can't assign to function call\r\nroot@AR:~/widely#"}}
{"actor":{"display_login":"luckypoem"}}