| 17 | | It fails because the installation process tries to use a new option in setuptools which my local version doesn't have: |
| 18 | | {{{ |
| 19 | | Collecting http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.3.zip |
| 20 | | Downloading http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.3.zip (356kB) |
| 21 | | 100% |████████████████████████████████| 356kB 7.8MB/s |
| 22 | | Installing collected packages: mysql-connector-python |
| 23 | | Found existing installation: mysql-connector-python 2.0.4 |
| 24 | | Uninstalling mysql-connector-python-2.0.4: |
| 25 | | Successfully uninstalled mysql-connector-python-2.0.4 |
| 26 | | Running setup.py install for mysql-connector-python |
| 27 | | Complete output from command /Users/patrick/.virtualenvs/ib-cms/bin/python -c "import setuptools, tokenize;__file__='/var/folders/s0/t3yxc5c16m32qzmwrsbtdybm0000gn/T/pip-0EgqCn-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/s0/t3yxc5c16m32qzmwrsbtdybm0000gn/T/pip-5uIg95-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/patrick/.virtualenvs/ib-cms/include/site/python2.7/mysql-connector-python: |
| 28 | | usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] |
| 29 | | or: -c --help [cmd1 cmd2 ...] |
| 30 | | or: -c --help-commands |
| 31 | | or: -c cmd --help |
| 32 | | |
| 33 | | error: option --single-version-externally-managed not recognized |
| 34 | | }}} |
| 35 | | |
| 36 | | I have stopped investigating this at this point because I'm unwilling to update setuptools/python because that would invole quite a bit of overhead in the environment I'm working on. |
| | 17 | Unfortunately I have not found a way to retain the "--egg" parameter in a pip-requirement.txt :-/ |