3

I am packaging my program and I am having trouble with the "Twisted Web" dependency. I tried inputting all of the following combos in the setup.py file:

install_requires = ['Twisted Web>=12.2.0'],
install_requires = ['Twisted%20Web>=12.2.0'],
install_requires = ['"Twisted Web">=12.2.0'],

but the only thing I get is

error in philharmonic setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers

The rest of the file is OK, because if I set some other single-word package the installation passes without any complaints.

This seems to be a known issue, but I would appreciate any other way of specifying this requirement. Can I input PyPI links or GitHub repo urls in the install_requires field? Is there a good resource for the supported syntax, because I didn't find much explanation in the Hitchhiker's guide?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
metakermit
  • 21,267
  • 15
  • 86
  • 95
  • Are you sure you need a comma a at the end of the lines? It makes `install_requires` a tuple. – ikkuh Aug 09 '17 at 12:35

0 Answers0